Rainbow-electronics HT49R70A-1 Uživatelský manuál Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 41
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
RET Return from subroutine
Description The program counter is restored from the stack. This is a 2-cycle instruction.
Operation
PC ¬ Stack
Affected flag(s)
TC2 TC1 TO PD OV Z AC C
¾¾¾¾¾¾¾¾
RET A,x Return and place immediate data in the accumulator
Description The program counter is restored from the stack and the accumulator loaded with the speci
-
fied 8-bit immediate data.
Operation
PC ¬ Stack
ACC ¬ x
Affected flag(s)
TC2 TC1 TO PD OV Z AC C
¾¾¾¾¾¾¾¾
RETI Return from interrupt
Description The program counter is restored from the stack, and interrupts are enabled by setting the
EMI bit. EMI is the enable master (global) interrupt bit.
Operation
PC ¬ Stack
EMI ¬ 1
Affected flag(s)
TC2 TC1 TO PD OV Z AC C
¾¾¾¾¾¾¾¾
RL [m] Rotate data memory left
Description The contents of the specified data memory are rotated 1 bit left with bit 7 rotated into bit 0.
Operation
[m].(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
[m].0 ¬ [m].7
Affected flag(s)
TC2 TC1 TO PD OV Z AC C
¾¾¾¾¾¾¾¾
RLA [m] Rotate data memory left and place result in the accumulator
Description Data in the specified data memory is rotated 1 bit left with bit 7 rotated into bit 0, leaving the
rotated result in the accumulator. The contents of the data memory remain unchanged.
Operation
ACC.(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
ACC.0 ¬ [m].7
Affected flag(s)
TC2 TC1 TO PD OV Z AC C
¾¾¾¾¾¾¾¾
HT49R70A-1
Rev. 1.00 34 December 4, 2001
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 40 41

Komentáře k této Příručce

Žádné komentáře