Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->ACALL

ACALL      Absolute Call within 2K Byte Page

Assembler Mnemonic: ACALL <addr11>

ACALL unconditionally calls a subroutine located at address <addr11>.

Only the 11 low order bits of <addr11> are used.  The other bits are taken from the program counter (PC) after it has been incremented by 2 to point at the instruction following ACALL.  <addr11> must therefore be within the same 2k block of memory as the first byte of the instruction following the ACALL instruction.

An error is generated if <address> is out of range.
    
Bytes:2
Cycles:2
    
PSW flags:CACF0RS1RS0OVP
N/AN/AN/AN/AN/AN/AN/A

(N/A: Not affected)