I am going through some example assembly code for 16-bit real mode.
I\'ve come across the lines:
mov bx, cs
mov ds, bx
mov si,
offset
means that si
register will be equal to the offset of the variable value1 (not to its actual value). Offset is the address from the beginning of memory segment where the variable is stored. The offset is usually relative to ds
segment (in your case ds
and cs
registers are pointing to the same segment).