asm是C语言的关键字吗

Python07

asm是C语言的关键字吗,第1张

asm是C语言关键字,用于在C语言中嵌入

汇编指令

,例如:

main()

asm

mov

ah,2

asm

mov

bh,0

asm

mov

dl,

20

asm

mov

dh,10

asm

int

10h

/*调用BIOS中断设置光标位置*/

_asm mov ax,0

_asm{

mov ax,0

mov bx,0

}

两种写法都行,VC++6.0编译通过