Notes in Assembly Language Flashcards
How many columns does a typical video screen have
80
How many rows does a typical video screen have?
25
Code for clearing screen
MOV AX,3
INT 10H
MOV AH,0 (0000)
Video Mode
MOV AH,1 ;(0100)
Single Character Input
MOV AH,2 ;(0200)
Single Character Output
MOV AH,6 ;(0600)
Monitor Screen Processing
MOV AH,8 ;(0800)
Single Character Input No Echo
MOV AH,9 ;(0900)
String Output
MOV AH,10 ;(0A00)
String Input
How many colors can background display?
8
How many colors can be used as text color?
16
What does the msb of the background color represent?
Blinking
What does the msb of the text color represent?
Intensity
Is used to compare character data, as well as, numeric data fields
CMP
The main use is in decision making in conjunction with conditional jump instructions
CMP
These are instructions that transfer control depending on the setting of CMP instruction whether a certain condition is met or not.
Conditional Jump