This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:papc:chapter_6_5 [2026/01/16 09:32] – [Summary for indirect addressing] ktokarz | en:multiasm:papc:chapter_6_5 [2026/02/19 20:44] (current) – [Base Indexed addressing with displacement] ktokarz | ||
|---|---|---|---|
| Line 179: | Line 179: | ||
| <code asm> | <code asm> | ||
| ; copy one byte from the data segment in the memory at the address calculated | ; copy one byte from the data segment in the memory at the address calculated | ||
| - | ; as the sum of the base (BX) register, the index (SI) register and a displacement to AL | + | ; as the sum of the base (BX) register, |
| + | ; the index (SI) register and a displacement to AL | ||
| mov al, [bx] + [si] + table | mov al, [bx] + [si] + table | ||
| mov al, [bx + si] + table | mov al, [bx + si] + table | ||