|
Slide 4.16: SUB instruction Slide 5.1: Programming Laboratory II: searching a string for a pattern Home |
|
CALL Instruction
call DumpRegs ; display registers
This CALL statement calls a procedure that displays the current values of the CPU registers.
The CALL instruction calls a procedure by directing the processor to begin execution at a new memory location.
Procedures could be user-defined or built-in.
CALL — Procedure Call |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EXIT, ENDP, and END
|
|