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.

SYNTAX<br />

Hexadecimal :<br />

Mnemonic :<br />

EXECUTION<br />

COMMENTS<br />

EXAMPLE<br />

SUBSTRACTION DATA/DATA<br />

DIRECT ADDRESSING - SEPARATED FORMAT<br />

NC 1B NL NB AD0 DA0...ADN DAN...04<br />

SUB.D,AD0,DA0...,ADN,DAN.<br />

ACCU. MEMORY<br />

ADN<br />

DIRECT ADDRESSING<br />

SYMBOLS DEFINITION LIMITS<br />

PAGE 31<br />

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

ACCU. MEMORY<br />

(ADN)<br />

result<br />

SOUSTRACTION<br />

DAN (DAN)<br />

Allows to do a substraction beetwen 2 data stored in the memory.<br />

The result is stored in the address ADN.<br />

Result : (ADN)end = (ADN)begin − (DAN)<br />

(DAN) data at the address DAN.<br />

(ADN)end data at the address ADN after operation<br />

(ADN)begin data at the address ADN before operation<br />

Make a substraction beetwen the data at the address 00 of the accumulator and the<br />

data at the address 07. The result is stored at the address 00.<br />

Hexadecimal : 01 1B 10 07 00 07 04<br />

Mnemonic : SUB.D,0,7.<br />

0 to FFH<br />

0 to FFH<br />

0 to FFH<br />

1BH<br />

SUB.D

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

Saved successfully!

Ooh no, something went wrong!