我使用 devcpp 和 borland c 编译器....
asm {
mov ax,4 // (I/O Func.)
mov bx,1 // (Output func)
mov cx,&name // (address of the string)
mov dx,6 // (length of the string)
int 0x21 // system call
}
在上面的代码片段中,我想在汇编语言的帮助下打印一个字符串......但是我怎样才能将字符串的地址放在寄存器 cx 中......
代码有问题吗???