RosettaCodeData/Task/Call-a-function/8086-Assembly/call-a-function-3.8086
2023-07-01 13:44:08 -04:00

2 lines
113 B
Text

foo:
ld ax,word ptr[ds:bar] ;load from bar, which is a 16 bit storage location in the data segment (DS), into AX