NEWS: Total Picture Views: 147066 | Total Article Views: 155646 | Top 5 Most Popular Article: 1. Am I Stuck Algorithm with Becker Robot | 2. How to read a JSON and work with it | 3. PickUpThings with Becker Robot | 4. Encrypted Data GUI (Download .Zip) | 5. Create Wall and Things with Becker

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 ""
org 100h
; Example 1)

mov ah, 1
mov al, 0 ; Where the key that is pressed will be stored
int 21h


; Example 2)

mov dx,12			;12 characters long
call get_string
call print_string
Attachments: None

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.

jean8mathieuCreated 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.