Microprocessor design and course Lecture 4
Microprocessor design and course Lecture 4
Processor Memory(Registers)
PROCESSOR MEMORY
(REGISTERS)
Comment (optional)
target:
mov ax, bx
……
jmp target
L1:
L2: mov ax, bx
Mnemonic Description
MOV move (assign) one value to
another
Example
MOV B,C ; the instruction moves contents of register C
to register B.
31
Subroutine call.
A subroutine is a special program for
performing repeatedly needed tasks such as
sorting, searching…
In this case the control of the program will
now change to execute the subroutine.
Control returns after finishing with the
subroutine.