List the SHORTEST POSSIBLE CODE (counting number of instructions) for making x, y, and z, defined as follows, get the value 1. for an 80*86 machine
x: dw 0xff00
y: resb 1
z: resw 1
edit: I think the answer should be somethink like that:
MOV DWORD [x+1], 0x01010001 ;
;check:
mov eax , 0
mov al , byte[y]
print_d eax ; print 0
mov eax , 0
mov ax , word[x]
print_d eax ; print 256
mov eax , 0
mov ax , word[z]
print_d eax ; print 257
but. it is not good...sholud print 1