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 />

N DATA BLOCS TRANSFERT<br />

Hexadecimal : INS,82H,L1,D1pF,D1pf,S1pF,S1pf,<br />

L2,D2pF,D2pf,S2pF,S2pf, ....<br />

Ln,DnpF,Dnpf,SnpF,Snpf, LS.<br />

Mnemonic: LMOV.BI,L1,D1,S1,<br />

L2,D2,S2, ....<br />

Ln,Dn,Sn, LS.<br />

PAGE 65<br />

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

EXECUTION<br />

N blocs transfert :<br />

- direct addressing (Li < 80H, Di and Si < 8000H).<br />

- indirect addressing (Li >= 80H, Di and Si >= 8000H).<br />

In this case the parameters are placed at the addresses :<br />

Li - 80H = for the length<br />

Di - 8000H = for the destination address<br />

Si - 8000H = for the source address<br />

The indirection is done each time that the MSB of the new address = 1<br />

(value > 80H ou > 8000H)<br />

like this each parameter has his proper indirection level.<br />

WARNING : The board makes no control about the addresses !<br />

COMMENTS<br />

Parameters control :<br />

Example on Li (evalable for Si and Di with 8000H) :<br />

Li < 80H : Li = length<br />

Li >= 80H<br />

(Li-80H) < 80H : (Li-80H) = length<br />

(Li-80H) >= 80H<br />

((Li-80H)-80H) < 80 : ((Li-80H)-80H) = length<br />

((Li-80H)-80H) >= 80<br />

etc .........<br />

SYMBOLS DEFINITION LIMITS<br />

L Length or pointer to the length (if > 80H).<br />

DpF/Dpf Address or pointer to the source (si > 8000H)<br />

ou D<br />

SpF/Spf Address or pointer to the destination<br />

ou S (if >8000H).<br />

LS jump line number after transfert(s) (optional)<br />

82H<br />

LMOV.BI<br />

EXAMPLE<br />

Direct transfert an area of 10 bytes starting at the address 810H to the address 820H and<br />

an area with parameters stored at the address 800H (length), 881H,882H (destination),<br />

883H et 884H (source).<br />

After the transfert, the program continues on the next line (LS is missing).<br />

LMOV.BI,10,820H,810H,<br />

80H,881H,882H.

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

Saved successfully!

Ooh no, something went wrong!