It's actually not help with the code, it's help finding an assembler and linker that will work on 64 bit windows 07... Not only that, but I'd like to be able to be able to debug it. But since windows dropped debug from 64 bit.
Any help?
P.S.: I have YASM, but it won't let me compile code that I know for a fact works (I copied it directly from the book).
DOSSEG
.MODEL SMALL
.STACK 100h
.DATA
cat DW 5
dog DW 4
mouse DB 1
.CODE
startup:
mov ax,@data ;Must always
mov ds,ax ;do this first
mov ax,dog ;move the contents of dog into the ax register
add cat,ax ;move the contents of the ax register into cat
mov bl,mouse ;move the contents of mouse into the low b register
mov al,01h ;example of a "literal"
mov bh,0Ch ;another example of a "literal"
mov ah,4ch ;terminate the program.
int 21h ;DO THIS OTHERWISE YOU WILL HAVE TO HARD REBOOT
END startup