How to Read a Character String With Assembly Language
The 8086 Assembly Language is a programming language used by developers who need to create core-level applications for microprocessors. Unlike other languages, Assembly can only manage a single character string at a time. If you want to access the value of the current character string, you can do so by adding specific instructions to the source code.
Instructions
-
-
1
Load the source code of the application in your Assembly Language editor. If you do not use such an editor, load the code in Notepad.
-
2
Type the following instructions at the point where you wish to read the string:
int 21h
retWhile "int 21h" returns the value of the default character string, "ret" prints it on the device or computer's screen.
-
-
3
Open the "File" menu and click on "Save."
-
1