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 : INS,81H,Ld,DpF,Dpf,Ls,SpF,Spf.<br />

Mnemonic : VAL,Ld,D,Ls,S.<br />

EXECUTION<br />

SpF/Spf<br />

COMMENTAIRE<br />

DpF/Dpf<br />

SYMBOLS DEFINITION LIMITS<br />

EXAMPLE<br />

Conversion of the string " 256" stored at the address 810H to an area of 2 bytes stored at<br />

the address 820H.<br />

VAL,2,820H,4,810H. (result : see below)<br />

Indirect conversion of the string pointed by the data (810H) at the address 840H. The<br />

length (4) is pointed by the data at the address 80H. The result will be at at the address<br />

pointed by data at the address 830H (820H). The result length (2) is defined by the pointer<br />

at the address 81H.<br />

VAL,80H,830h,81H,840H.<br />

ASCII STRING CONVERSION<br />

TO HEX NUMBER<br />

ASCII source<br />

Character<br />

Character<br />

Character<br />

Character<br />

Ls<br />

Source Destination<br />

810H 20H " " Conversion 820H 01<br />

811H 32H "2" 821H 00<br />

812H 35H "5"<br />

813H 36H "6" 256 = 100H<br />

PAGE 64<br />

Destination<br />

DATA<br />

DATA<br />

DATA<br />

Ld<br />

81H<br />

VAL<br />

Convert the data from address S (SpF/Spf) to an HEX destination table located at the<br />

address D (DpF/Dpf).<br />

If the length (Ls and/or Ld) is > 80H, addressing becomes indirect, and the command<br />

parameters must indicate the location of pointer for the length and for the table address.<br />

Ls Length of the source table (ASCII number) or<br />

address of the pointer to the length (if > 80H)<br />

Ld Length of the destination table (HEX) or<br />

address of the pointer to the length (if > 80H)<br />

DpF/Dpf Address of the destination table or pointer<br />

or D to the destination table address (Ld > 80H)<br />

SpF/Spf Address of the source table or pointer to the<br />

ou S source table address (Ls >80H)

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

Saved successfully!

Ooh no, something went wrong!