Ad Code

Base Register Function in Assembly

Base Register Function in Assembly?

A base register is used in brackets and the actual address accessed depends on the value contained in that
register. For example “mov [bx], ax” moves the two byte contents of the AX register to the address contained in the BX register in the current data segment. The instruction “mov [bp], al” moves the one byte content of the AL register to the address contained in the BP register in the current stack segment.
Reactions

Post a Comment

0 Comments