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

JUMP ON COMPARE<br />

N DATA / N DATA<br />

NC 7D NL NB N0 A016 NS AS16 LI LS 04<br />

LJC.D,N0,A016,NS,NS16 :LABEL1 :LABEL2.<br />

AREA TO COMPARE SOURCE AREA<br />

A016<br />

A016+1<br />

A016+N0<br />

SYMBOLS DEFINITION LIMITS<br />

EXAMPLE<br />

Compare 3 data from the address 800H to 3 data from the address 880H of the<br />

memory.<br />

- If data are equal then continue on the next line<br />

- If area to compare < source area then jump to the label INF<br />

- If area to compare > source area then jump to the label SUP<br />

Mnemonic : LJC.D,3,800H,3,880H:INF:SUP.<br />

PAGE 45<br />

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

AS16<br />

AS16+1<br />

AS16+NS<br />

7DH<br />

LJC.D<br />

2 areas of data are defined by a starting address and a number of data. Data to compare<br />

are defined by A016 and N0, the data source area is defined by AS16 and NS.<br />

A016 and AS16 are addresses for the MSB of each area.<br />

Jump to the label INF or SUP if data are differents or continue to the next line if data are<br />

equals.<br />

NS Number of data of the source area<br />

N0 Number of data of the area to compare<br />

A016 First address of the area to compare<br />

AS16 First address of the source area<br />

see memory<br />

mapping

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

Saved successfully!

Ooh no, something went wrong!