I am studying for an exam and have found no examples yet similar to this one.
I can see that mov al, '*'
is moving a character into a register but I am uncertain as to what addressing mode is being used for this particular function.
I am studying for an exam and have found no examples yet similar to this one.
I can see that mov al, '*'
is moving a character into a register but I am uncertain as to what addressing mode is being used for this particular function.
When you move a literal into a register, it's known as Immediate Mode.
Here's a useful reference that defines the most commonly used modes in processors, using the MIPS instruction set as the example.