hiya i have the following code but my compiler has a fit when it gets to the last line. here is the full code:
mov ax,es
sub ax,0x10
mov es,ax
mov ds,ax
mov ss,ax
mov sp, sp
push es
push word 0x100
is there an alternative asm instruction to push word 0x100 ?
if so can u let me know.
thanks,
ed.
alternative to push word
RE:alternative to push word
You have to put your word inside a register first.
Something like
mov ax, 0x100
push ax
Moose
Something like
mov ax, 0x100
push ax
Moose
RE:alternative to push word
You can use direct stack acces like:
mov word [ss:sp],0x100
dec sp
luck.
mov word [ss:sp],0x100
dec sp
luck.