Manual CEPR 96 - Balogh technical center
Manual CEPR 96 - Balogh technical center Manual CEPR 96 - Balogh technical center
Manuel instructions CEPR96 / MRUC20 M96.40.02 SYNTAX Hexadecimal : Mnemonic : EXECUTION COMMENTS JUMP ON COMPARE 1 DATA / 1 VALUE NC 32 NL 09 ADN DVN LI LS 04 JC , ADN,DVN ;LI;LS. JC , ADN,DVN :LABEL1:LABEL2. ACCU. MEMORY ADN (ADN) Compare the avalue at the address ADN and the value DVN. - if (ADN) = DVN next line - if (ADN) < DVN jump to the line : LI or LABEL 1 - if (ADN) > DVN jump to the line : LS or LABEL 2 SYMBOLS DEFINITION LIMITS (ADN) Value at the address ADN DVN Immediate value LI Jump line if (ADN) < DVN LS Jump line if (ADN) > DVN EXAMPLE Compare the value at the address 0 to value 07 - If equal, the program continue on the next line. - if the value at the address 0 < to the value 07, the program continue on the label SMALLER (line 20H). - if the value at the address 0 > to the value 07, the program continue on the label BIGGER (line 30H). hexadecimal : 01 32 10 09 00 07 20 30 04 mnemonic : JC, 0, 7; 20H; 30H. JC, 0, 7 : SMALLER: BIGGER. PAGE 42 IMMEDIATE ADRESSING JUMP ON COMPARE DVN 0 to FFH 0 to FFH 0 to FDH 0 to FDH 32 H JC
SYNTAX Hexadecimal : Mnemonic : EXECUTION COMMENTS EXAMPLE JUMP ON COMPARE N DATA / N VALUES NC 7C NL NB N0 A016 DV0..DVN LI LS 04 LJC,N0,A016,DV0,..DVN :LABEL1 :LABEL 2. AREA TO COMPARE VALUES A016 A016+1 A016+N0 SYMBOLS DEFINITION LIMITS PAGE 43 Manuel instructions CEPR96 / MRUC20 M96.40.02 DV0 DV1 DVn N Number of data to compare A016 First address of the data area LI Jump line number (or label) data < values LS Jump line number (or label) data > values DVN Values See memory mapping 7CH LJC The data area to compare id defined by a strating address A016 and the number N of data to compare. The address A016 is the MSB of the area to compare. Compare the values of the data area and the immediate values: - if the N data < N values (DVN) jump to the label INF - if the N data > N values (DVN) jump to the label SUP - if the N data = N values (DVN) continue on the next line. Compare 3 data from the address 800H of the memory to 3 immediate values (1,2,3). - if data = values then continue on the next line - if data > values then jump on the label INF. - If data < values then jump on the label SUP. Mnemonic : LJC,3,800H,1,2,3:INF:SUP.
- Page 1 and 2: SYNTAX Hexadecimal : Mnémonic : EX
- Page 3 and 4: SYNTAX Hexadecimal : Mnémonic : EX
- Page 5 and 6: SYNTAX Hexadecimal : Mnémonic : EX
- Page 7 and 8: STOP the PROGRAM EXECUTION SYNTAX S
- Page 9 and 10: SYNTAX Hexadecimal : Mnémonic : EX
- Page 11 and 12: SYNTAX Hexadecimal : Mnémonic : EX
- Page 13 and 14: SYNTAX Hexadecimal : Mnémonic : EX
- Page 15 and 16: SYNTAX Hexadecimal : Mnémonic : EX
- Page 17 and 18: SYNTAX Hexadecimal : Mnémonic : EX
- Page 19 and 20: SYNTAX Hexadecimal : Mnémonic : EX
- Page 21 and 22: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 23 and 24: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 25 and 26: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 27 and 28: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 29 and 30: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 31 and 32: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 33 and 34: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 35 and 36: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 37 and 38: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 39 and 40: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 41: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 45 and 46: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 47 and 48: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 49 and 50: SYNTAX Hexadecimal bit : HEXADECIMA
- Page 51 and 52: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 53 and 54: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 55 and 56: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 57 and 58: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 59 and 60: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 61 and 62: SYNTAX Hexadecimal : Mnemonic : EXE
- Page 63 and 64: SYNTAX EXECUTION SpF/Spf HEX VALUE
- Page 65 and 66: SYNTAX N DATA BLOCS TRANSFERT Hexad
- Page 67 and 68: SYNTAX STATEMENT OF MRER21 MODULES
SYNTAX<br />
Hexadecimal :<br />
Mnemonic :<br />
EXECUTION<br />
COMMENTS<br />
EXAMPLE<br />
JUMP ON COMPARE<br />
N DATA / N VALUES<br />
NC 7C NL NB N0 A016 DV0..DVN LI LS 04<br />
LJC,N0,A016,DV0,..DVN :LABEL1 :LABEL 2.<br />
AREA TO COMPARE VALUES<br />
A016<br />
A016+1<br />
A016+N0<br />
SYMBOLS DEFINITION LIMITS<br />
PAGE 43<br />
Manuel instructions <strong>CEPR</strong><strong>96</strong> / MRUC20 M<strong>96</strong>.40.02<br />
DV0<br />
DV1<br />
DVn<br />
N Number of data to compare<br />
A016 First address of the data area<br />
LI Jump line number (or label) data < values<br />
LS Jump line number (or label) data > values<br />
DVN Values<br />
See memory<br />
mapping<br />
7CH<br />
LJC<br />
The data area to compare id defined by a strating address A016 and the number N of data<br />
to compare. The address A016 is the MSB of the area to compare.<br />
Compare the values of the data area and the immediate values:<br />
- if the N data < N values (DVN) jump to the label INF<br />
- if the N data > N values (DVN) jump to the label SUP<br />
- if the N data = N values (DVN) continue on the next line.<br />
Compare 3 data from the address 800H of the memory to 3 immediate values (1,2,3).<br />
- if data = values then continue on the next line<br />
- if data > values then jump on the label INF.<br />
- If data < values then jump on the label SUP.<br />
Mnemonic : LJC,3,800H,1,2,3:INF:SUP.