Get String and Print String Assembly
In this example I will be showing how to get and print a String in Assembly
; ; reading a character from the keyboard ; 2 ways ; 1) int 21h, AH=1h ; 2) get_string() .... include "emu8086.inc" org 100h ; Example 1) mov ah, 1 mov al, 0 ; Where the key that is pressed will be stored int 21h ;hlt ; Example 2) mov dx,12 ;12 characters long call get_string call print_string hlt define_print_string define_get_string end
Tags: Basic Get String Print String
Total Views: 1162
My name is Jean-Mathieu
I created this website so other people could enjoy finding useful stuff easier. If you have any question do not hesitate to contact me.
|jean8mathieu||Created on 10/16/14|
Disclosure: We are a website that needs compensation to operate like any other website on the internet.
We may receive consideration for our reviews but we are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not.