IP high IP low
8.12 Interfacing C with Assembly Language. main() { asm mov dl,0x30 /* begin counter at ‘0’ */ asm mov ah,2 /* display character function */ next: asm int 0x21 /* DOS call */ asm inc dl /* increment counter */ asm cmp dl,0x3a /* is counter > ‘9’ ? */
176 views • 3 slides