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.

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

SYNTAX<br />

MONO/MULTI TASK SELECTION<br />

PROGRAM BANK AND ACCU. SELECTION<br />

Hexadecimal : INS,7FH,Val.<br />

Mnemonic: SEL,Val.<br />

EXECUTION<br />

Val allows to select the working mode and to manage the memory accumulators:<br />

- Mode mono or multi task.<br />

- Program bank and Accu. durring program excution.<br />

DEFINITION OF VAL<br />

The SEL instruction allows to modify the selected bank and/or accu:<br />

- to down load the program,<br />

- to change the program bank or the accumulator memory durring the program<br />

execution.<br />

If a program doesn't contain the SEL instruction, it will be executed as a monotask<br />

program starting on bank 0 and will used the accumulator 0 (800H-8FFH).<br />

PAGE 66<br />

7FH<br />

SEL<br />

Si le programme contient l'instruction SEL,3xH (mode mutitâche) dans un banc autre que<br />

INIT, l'instruction est ignorée et le programme est poursuivi dans le mode sélectionné à la<br />

mise sous tension.<br />

Description of the VAL bits<br />

b7 b6 b5 b4 b3 b2 b1 b0<br />

0 0 0 0 Accu Num Bank Num<br />

0 0 0 1 Accu Num X X<br />

0 0 1 0 X X Num Banc<br />

0 0 1 1 0 0 Nb de prog.<br />

0 0 1 1 1 1 1 1<br />

EXAMPLE<br />

Comments<br />

Select a bank and an accu<br />

Select the Num Accu<br />

Select the bank Num Banc<br />

Multitask enable on Nb prog.<br />

Select the INIT bank (supervisor)<br />

- Supervisor Bank 3 selection to download the program<br />

SEL,3H.<br />

- Selection of the bank 1 and the accu 2 durring the program execution:<br />

SEL,9H.<br />

- Selection of the mutitask mode with 3 programs to run :<br />

It must be done in the INIT program:<br />

SEL,32H. (execution of the programs 0,1 and 2)

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

Saved successfully!

Ooh no, something went wrong!