RosettaCodeData/Task/Call-a-function/8086-Assembly/call-a-function-3.8086

3 lines
113 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
foo:
ld ax,word ptr[ds:bar] ;load from bar, which is a 16 bit storage location in the data segment (DS), into AX