Call (call near) – Echelon Neuron User Manual
Page 88

CALL (Call Near)
The CALL instruction calls a function at the specified near address. The CALL
instruction uses the (short) absolute addressing mode. The near-address
expression must resolve at link-time to an absolute address in the range h’0000
to h’1FFF. Therefore, this instruction can only be used to call functions that
reside in the near area.
See Chapter 8, System-Provided Functions, for a description of system functions
that you can use with this instruction.
The CALL instruction applies to Series 3100, 5000, and 6000 devices.
Syntax:
The CALL instruction requires a single operand to specify the near address:
CALL near_address
Table 23 describes the attributes of the CALL instruction.
Table 23. CALL Instruction
Instruction
Hexadecimal
Opcode
Instruction
Size (Bytes)
CPU Cycles
Required
Affect on
Carry Flag
CALL
00 to 1F
2
6
None
Example:
The following example calls the _add_8_16f system function to add an 8-bit
value with a 16-bit value.
call _add_8_16f ;
78
Neuron Assembly Language Instruction Statements