Member Avatar for maveee
maveee

hello am new to assembly and i have a question abt the real mode segmented model !! ...

how can i move the address of a variable that IS NOT in the data segment but in my Extra segment to a register .... cuz usually the mov instruction assumes that the variable exists at the data segment so we only need to enter the offset address of this variable ...

but in this case(variable in extra segment ) how should i specify the segment address of the variable in the mov instruction ??

thanx