Manual CEPR 96 - Balogh technical center

Manual CEPR 96 - Balogh technical center Manual CEPR 96 - Balogh technical center

technical.balogh.rfid.com
from technical.balogh.rfid.com More from this publisher
17.07.2013 Views

Manuel instructions CEPR96 / MRUC20 M96.40.02 BIT 4,5,6,7 DATA TYPE SELECTION (X in the mnemonic) SYNTAX The bit 5 and 6 are not used Hexadecimal : Mnemonic : EXECUTION COMMENTS EXAMPLE Details for PMN calculation bit 7 bit 4 0 0 ADN is a register address 0 1 ADN is an accumulator address. 1 0 ADN is a CAN 0 register address 1 1 ADN is a CAN 1 register address BIT 3 BIT VALUE (C in the mnemonic) = 0 set the bit to 0 = 1 set the bit to 1 BIT 0 à 2 BIT Nb SELECTION (B in the mnemonic) bit2 0 0 0 0 1 1 1 1 bit1 0 0 1 1 0 0 1 1 bit0 0 1 0 1 0 1 0 1 bit to test 0 1 2 3 4 5 6 7 SYMBOLS DEFINITION LIMITS PAGE 36

SYNTAX Hexadecimal : Mnemonic : EXECUTION COMMENTS EXAMPLE DMN SYMBOLS DEFINITION LIMITS PAGE 37 Manuel instructions CEPR96 / MRUC20 M96.40.02 READ THE REGISTERS 21H DIRECT ADRESSING - SEPARATED FORMAT IN.D ACCU. MEMORY NC 21 NL NB IA ADO DMO ..ADN DMN..04 IN.D,IA,AD0,DM0,..ADN,DMN DIRECT ADRESSING ADN REGISTER The value read at the register ADN is moved to the DMN ACCU. memory address. IA = 0 to 2FH allows to select a 256 registers page, that means the memory between 0 to 2FFFH can be seen as registers. NOTE : To be compatible with others BALOGH products : IA = 8 => select the page 500H to 5FFH. IA = 5 => select the page 800H to 8FFH. IA associate instruction ADN register number DMN Destination address in the accumulator Read the 2 inputs ports PE0 and PE1 (number 00 and 01) and move each values to the respectives accumulator addresses 3CH and 70H. The associate instruction IA = 08 selects the 500H to 5FFH registers area, the inputs ports are selected by AD0(0) and AD1(1). hexadecimal : 01 21 12 0A 08 00 3C 01 70 04 mnemonic : IN.D,8,0,3CH,1,70H. 0 à 2FH 0 à FFH 0 à FFH

SYNTAX<br />

Hexadecimal :<br />

Mnemonic :<br />

EXECUTION<br />

COMMENTS<br />

EXAMPLE<br />

DMN<br />

SYMBOLS DEFINITION LIMITS<br />

PAGE 37<br />

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

READ THE REGISTERS 21H<br />

DIRECT ADRESSING - SEPARATED FORMAT IN.D<br />

ACCU. MEMORY<br />

NC 21 NL NB IA ADO DMO ..ADN DMN..04<br />

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

DIRECT ADRESSING<br />

ADN<br />

REGISTER<br />

The value read at the register ADN is moved to the DMN ACCU. memory address.<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.<br />

IA associate instruction<br />

ADN register number<br />

DMN Destination address in the accumulator<br />

Read the 2 inputs ports PE0 and PE1 (number 00 and 01) and move each values to the<br />

respectives accumulator addresses 3CH and 70H.<br />

The associate instruction IA = 08 selects the 500H to 5FFH registers area, the inputs<br />

ports are selected by AD0(0) and AD1(1).<br />

hexadecimal : 01 21 12 0A 08 00 3C 01 70 04<br />

mnemonic : IN.D,8,0,3CH,1,70H.<br />

0 à 2FH<br />

0 à FFH<br />

0 à FFH

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

Saved successfully!

Ooh no, something went wrong!