Microprocessor and Interfacing lab

Microprocessor and Interfacing lab

by Md Towfiq Elahi -
Number of replies: 0

In this module we have  worked with the character ,string and numbe printing to display .In interpreter there will be a function called AH. If AH=1 ,then it indicates the input . And AH=2 then it indicates the  output. ASCI code is such a value by which computer understand what input is given.  The value which is directly written on code in data segment it will shows the garbage  value. 

String - If we want to get a normal word by output then we will add $ .Such as ,we want to type 'TURKY' . Then we will write , A db 'TURKY$' . But it will mot show when it will show as output.  For the String we will take AH=9h. The output of string will stay in  DX . When we want a string as an output then we will use 'LEA' .