RosettaCodeData/Task/Pointers-and-references/8086-Assembly/pointers-and-references-6.8086
2023-07-01 13:44:08 -04:00

2 lines
165 B
Text

add bx, 2 ;add 2 to bx. bx contains the memory address of the first "l" in "Hello"
mov al,[ds:bx] ;dereference the pointer and store the value it points to into al.