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.

SYNTAX<br />

Hexadecimal :<br />

Mnemonic :<br />

EXECUTION<br />

COMMENTS<br />

EXAMPLE<br />

WRITE DATA INTO REGISTERS<br />

DIRECT ADRESSING - SEPARATED FORMAT<br />

NC 23 NL NB IA AD0 DM0..ADN DMN...04<br />

OUT.D,IA,AD0,DM0,...,ADN,DMN.<br />

REGISTERS DIRECT ADRESSING<br />

ADN DMN<br />

SYMBOLS DEFINITION LIMITS<br />

IA Associate instruction<br />

DMN Accumulator address of the data to write<br />

in the ADN register.<br />

ADN Register number<br />

PAGE 39<br />

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

ACCU. MEMORY<br />

Write the value of the address 3CH of the accumulator memory to the output port PS0<br />

(register 2).<br />

hexadecimal : 01 23 FF 08 08 02 3C 04<br />

mnemonic : OUT.D,08H,2,3CH.<br />

0 to 2FH<br />

0 to FFH<br />

0 to FFH<br />

23H<br />

OUT.D<br />

The value at the address DMN is written into the register ADN.<br />

IA = 0 to 2FH allows to select a 256 registers page, that means the memory between 0 to<br />

2FFFH can be seen as registers.<br />

NOTE : To be compatible with others BALOGH products :<br />

IA = 8 => select the page 500H to 5FFH.<br />

IA = 5 => select the page 800H to 8FFH.

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

Saved successfully!

Ooh no, something went wrong!