Printing a String in 8086 Assembly Language
Introduction Many universities require us to take Computer Architecture as part of the requirements of a computer-related course. One of the best ways to learn the architecture and organization of the computer is dive into the low-level design. As part of the architecture, we deal with ISA or the Instruction Set Architecture. What better way to learn this than Assembly Language! In this blog post, I will discuss how to display string in 8086 Assembly Language so prepare your emulator and start coding. I will be using service 09 of the DOS INT 21h. For those who are new in Assembly Language, service 09 is a request from the operating system's list of basic tasks. When you invoke (or use) this service, you are asking the OS to print something. INT 21h on the other hand is an interrupt. It causes your main program to pause (or be interrupted) and let the system jump to another code (of the OS's) as specified by the service. It is like saying "go, execute th