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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

EXAMPLE<br />

JUMP ON COMPARE<br />

1 DATA / 1 DATA<br />

NC 33 NL 09 ADN DAN LI LS 04<br />

JC.D,ADN,DAN;LI;LS.<br />

JC.D,ADN,DAN:LABEL1:LABEL2<br />

ACCU. MEMORY<br />

ADN<br />

DAN<br />

(ADN)<br />

(DAN)<br />

Compare 2 values stored into the accumulator memory at the addresses ADN and DAN.<br />

- If (ADN) = (DAN) continue on the next line<br />

- If (ADN) < (DAN) jump to the line LI or the label LABEL 1<br />

- If (ADN) > (DAN) jump to the line LS or the label LABEL 2<br />

SYMBOLS DEFINITION LIMITS<br />

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

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

LI Jump line if (ADN) < (DAN)<br />

LS Jump line if (ADN) > (DAN)<br />

PAGE 44<br />

JUMP ON<br />

COMPARE<br />

DIRECT ADRESSING<br />

0 to FFH<br />

0 to FFH<br />

0 to FDH<br />

0 to FDH<br />

33H<br />

JC.D<br />

Compare the data at the address 07 to the data at the address 00.<br />

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

- If the data at the address 0 < the data at the address 07 then jump on SMALLER<br />

- If the data at the address 0 > the data at the address 07 then jump on HIGHER<br />

hexadecimal : 01 33 10 09 00 07 20 30 04<br />

mnemonic : JC.D, 0, 7; SMALLER; HIGHER.

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

Saved successfully!

Ooh no, something went wrong!