which one of this lines have bug and why?

MOV CX,BH
MOV AX,1000H
MOV AX,ES:70H
MOV AX,

thanks
Posted on 2006-10-30 12:26:15 by mendrek
1st: CH is 8bit and AX is 16bit
3rd: to access memory, you should enclose address in [ ] or use ptr operator.
exact syntax depens on which assembler you use
Posted on 2006-10-30 15:07:24 by vid
Homework?
Posted on 2006-10-30 20:20:30 by eek

Homework?


Smells like it.

Read the Community Rules, mendrek.

Topic locked, pending deletion.
Posted on 2006-10-31 08:46:41 by SpooK