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

JUMP ON COMPARE<br />

1 DATA / LIST OF DATA<br />

NC 39 NL NB ADX DA0 LS0 ..DAN LSN..04<br />

JC0.D,ADX,DA0;LS0...,DAN;LSN.<br />

JC0.D,ADX,DA0:LABEL0...,DAN:LABEL1.<br />

ACCU. MEMORY<br />

SYMBOLS DEFINITION LIMITS<br />

PAGE 47<br />

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

ACCU. MEMORY<br />

JUMP ON<br />

ADX (ADX)<br />

COMPARE DAN (DAN)<br />

ADRESSAGE DIRECT<br />

39H<br />

JC0.D<br />

Compare a value stored into the accumulator at the address (AD) to a list of data. If the<br />

data match with a value in the list of data then a jump to the associated label is done.<br />

If there is no match then the program continue on the next line.<br />

(ADX) Value at the address ADX<br />

(DAN) Values at the addresses DAN<br />

LSN Jump line nuber associate to the (DAN) value<br />

Compare the value at the address 00 to the values at the addresses 07H and 10H :<br />

- if the data at the address 00 match with the data at the address 07H then<br />

jump to label0 (line 20H)<br />

- if the data at the address 00 match with the data at the address 10H then<br />

jump to label1 (line 30H)<br />

- else continue on the next line<br />

hexadecimal : 01 39 10 0A 00 07 20 10 30 04<br />

mnemonic : JC0.D,0,7;20H,10H;30H.<br />

JC0.D,0,7:LABEL0,10H:LABEL1.<br />

0 to FFH<br />

0 to FFH<br />

0 to FDH

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

Saved successfully!

Ooh no, something went wrong!