Upload
soni-khan
View
34
Download
8
Embed Size (px)
Citation preview
CS-401Computer Architecture & Assembly
Language Programming
Lecture-16Display Memory
Lets Revise the Last Lecture
Character Mode
ASCII Table
String Declaration
db 0x61, 0x62, . . . db ‘a’, ‘b’, . . .db ‘abcdef’
Video Device Function in Computer
Character Formation
Character Formation
BGRIBGRblink
ASCII CODE Attributes
Back Ground Fore Ground
Character Formation
BGRIBGRblink
Attributes
Back Ground Fore Ground
R = Red
G = Green
B = Blue
I = Intensity
Bl = Blinking
Accecing Video Memory
Mov ax, 0*b800Mov ex, axMov word [es:0], 0*0741 ; print A at the top left in ;White on the Black bgMove word [es:160], 0*1230 ;print 0 at second line ;Left in green on blue bg