Why are we using hex value 0x78 in below given code in the instruction mov bx,0x78. A very little code is given below:
cli
xor ax,ax
mov ss,ax
mov sp,0x7c00
push ss
pop es
mov bx,0x78 (why we are using
hex value 0x78 here)
lds si,ss:bx
push ds
push si
push ss
push bx
mov di,0x7c2b
mov cx,0xb
cld
more code here....
Sorry for inconvenience, I have one more problem as mentioned below:
I am working through a very old msdos 1.25 source code and I found an awkward instruction where "$" sign is used as given below. What is $ sign in mov sp,$0x7c00 ?
I want to know what is the difference between the following two instructions:
1. mov sp,$0x7c00
2. mov sp,0x7c00