I have a old assembly code in 16 bits and I want to "translate" it into a new 32 bit code for NASM.
In the old 16 bit code the words are defined as:
dseg segment para public 'data'
i word ?
j word ?
Now I would like to define " i " & " j " in the new 32 bit code.
SECTION .data
This is how I am defining .data section and I belive this is the right way, but I would like some help with the word thing.
SECTION .data
i dw 1
j dw 2
I believe I found the right solution for this.
" j " as a variable name, " dw " for the size of 2 bytes, and " 1 " as for the value .