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.

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

SYNTAX<br />

Hexadecimal : NC 3A NL NB AD0 PT0..ADN PTN..LS 04<br />

(resp. NC 3B NL NB AD0 PT0..ADN PTN..LS 04)<br />

Mnemonic : JCB,TA / BCS,.. TA / BC;LS. resp. JNCB,TA / BCS,.. TA / BC;LS.<br />

JCB,TA / BCS,... TA / BC:LABEL. resp. JNCB,TA / BCS,... TA / BC:LABEL.<br />

EXECUTION<br />

COMMENTS<br />

EXAMPLE<br />

SYMBOLS DEFINITION LIMITS<br />

Program remains on line 10H (the same line) if the equation above is true:<br />

- Input E1 = 1 and bit 7 of the address FFH of the accumulator is at 0 or data at the<br />

address 01H of the accumulator is different of 0 otherwise, the program continues on<br />

the next line.<br />

hexadecimal : 01 3A 10 0C 00 09 FF 37 01 78 10 04<br />

mnemonic :<br />

JUMP ON BOOLEAN RESULT 3AH (resp.3BH)<br />

JCB (resp.JNCB)<br />

The boolean equation is presented in the form of a midterm sum:<br />

< BN0 (AD0) * BN1 (AD1) > +< BN2 (AD2) * BN3 (AD3) > + <br />

Jump to line LS or label is performed when the equation is true (resp. false) else<br />

program continues on next line.<br />

- ADN is an address into the accumulator memory or a register number.<br />

- The PTN parameter defines :<br />

- the address assignment (accumulator memory or register)<br />

- the bit to test or to use.<br />

- The bit logic state to use (0 or 1)<br />

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

PTN test parameter (see next page)<br />

T D:accumulator memory, R:register, X:CAN0, Y:CAN1register<br />

A Address or registre number<br />

B bit number, test value of byte<br />

C logic state to test ("_" to test logic 0)<br />

S logical symbol (except the last term)<br />

LS jump line number<br />

:WAIT,JCB,R0/1*D255/7_+D1/8:WAIT.<br />

PAGE 48<br />

0 to FFH<br />

0 to FFH,0FH<br />

0 to 7, 8<br />

* ou +<br />

0 to FDH

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

Saved successfully!

Ooh no, something went wrong!