Manual CEPR 96 - Balogh technical center
Manual CEPR 96 - Balogh technical center
Manual CEPR 96 - Balogh technical center
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Manuel instructions <strong>CEPR</strong><strong>96</strong> / MRUC20 M<strong>96</strong>.40.02<br />
SYNTAX<br />
Hexadecimal :<br />
Mnemonic :<br />
EXECUTION<br />
COMMENTS<br />
SUBSTRACTION N DATA/N VALUES<br />
IMMEDIATE ADRESSING<br />
NC 7A NL NB N0 A016 DV0 ..DVN 04<br />
LSUB,N0,A016,DV0,..DVN.<br />
DATA TABLE<br />
A016<br />
A016+1<br />
A016+N0<br />
SYMBOLS DEFINITION LIMITS<br />
EXAMPLE<br />
Sub 3 values (1,2,3) to 4 data, stored at the address 800H.<br />
-<br />
result<br />
N Number of data in the data table<br />
A016 Address of the data table<br />
DVN Values to sub to the data table<br />
PAGE 32<br />
VALUES<br />
DV0<br />
DV1<br />
DVn<br />
7AH<br />
LSUB<br />
The data table is defined by an address (A016) and the number of data in bytes (N).<br />
The address A016 is the MSB of the data table.<br />
If the instruction contain more data than expected (DVn), the exccess data are ignored.<br />
Mnemonic : LSUB,4,800H,1,2,3.<br />
before<br />
after<br />
see memory<br />
mapping<br />
Data table Values<br />
0800H 0801H 0802H 0803H DV0 DV1 DV2<br />
FFH FFH FFH FFH - 1 2 3<br />
FFH FEH FDH FCH<br />
result