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.
SYNTAX<br />
Hexadecimal :<br />
Mnemonic :<br />
EXECUTION<br />
COMMENTS<br />
SYMBOLS DEFINITION LIMITS<br />
EXAMPLE<br />
Sub 3 data (source data table ), stored at the address 880H with 4 data (destination<br />
data table), stored at the address 800H.<br />
PAGE 33<br />
Manuel instructions <strong>CEPR</strong><strong>96</strong> / MRUC20 M<strong>96</strong>.40.02<br />
SUBSTRACTION N DATA/N DATA 7BH<br />
DIRECT ADRESSING<br />
LSUB.D<br />
NC 7B NL NB N0 A016 NS AS16 04<br />
LSUB.D,N0,A016,NS,NS16.<br />
DESTINATION<br />
A016<br />
A016+1<br />
A016+N0<br />
-<br />
result<br />
AS16<br />
SOURCE<br />
AS16+1<br />
AS16+NS<br />
Both source and destination tables are defined by an address and a number of bytes.<br />
The addresses A016 and AS16 are the MSB of each data table.<br />
if the source data table have more data than the destination data table, the excces data<br />
are ignored.<br />
NS Number of bytes for the source data table.<br />
N0 Number of bytes for the destination data table<br />
A016 Address of the destination data table<br />
AS16 Address of the source data table<br />
Mnemonic : LSUB.D,4,800H,3,880H.<br />
before<br />
after<br />
see memory<br />
mapping<br />
Destination data table Source data table<br />
0800H 0801H 0802H 0803H 0880H 0881H 0882H<br />
FFH 0 0 0 - 1 2 3<br />
FEH FEH FDH FDH<br />
result