17.07.2013 Views

Manual CEPR 96 - Balogh technical center

Manual CEPR 96 - Balogh technical center

Manual CEPR 96 - Balogh technical center

SHOW MORE
SHOW LESS

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 />

EXAMPLE<br />

ADDITION N DATA/N DATA<br />

DIRECT ADDRESSING<br />

NC 79 NL NB N0 A016 NS AS16 20<br />

LADD.D,N0,A016,NS,AS16.<br />

DESTINATION<br />

A016<br />

A016+1<br />

A016+N0<br />

+<br />

result<br />

SYMBOLS DEFINITION LIMITS<br />

PAGE 29<br />

Manuel instructions <strong>CEPR</strong><strong>96</strong> / MRUC20 M<strong>96</strong>.40.02<br />

AS16<br />

AS16+1<br />

SOURCE<br />

AS16+NS<br />

79H<br />

LADD.D<br />

Both source data table and destination data table are defined by an address and a number<br />

of bytes.<br />

The addresses A016 and AS16 are the MSB of each data table<br />

If the source data table have more data as the destination data table, excess data are<br />

ignored.<br />

NS Number of bytes for the source data table.<br />

N0 Number of bytes for the destination data table<br />

AS16 Address of the source data table<br />

A016 Address of the destination data table<br />

see memory<br />

mapping<br />

Add 3 data (source data table ) stored at the address 880H with 4 data (destination data<br />

table) stored at the address 800H.<br />

Mnemonic: LADD.D,4,800H,3,880H.<br />

before<br />

after<br />

Destination data table Source data table<br />

0800H 0801H 0802H 0803H 0880H 0881H 0882H<br />

0 FFH FFH 0 + 1 2 3<br />

1 1 1 3<br />

result

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!