Posted: Mon May 05, 2008 9:44 pm
The logic is thisdavid wrote:org 64511Dex wrote:What does this assemble too ?If it will allow it.Code: Select all
.model tiny .code .386 start: xor ax, ax org 1024 org 64511 db 0
db 0
The byte's offset is 64511, not (64511 + 1024).
Code: Select all
.model tiny
.code
.386
start:
xor ax, ax
org 1024 ; you have code above, random size, so we know this is 1024 ;bytes from start of program
org 64511 ; Then we know this should be 64511 bytes + 1024 bytes
db 0 ; 1 byte, so 1024 + 64511 + 1 = ????????????????