Elec 4

?
  • Created by: Ellatx
  • Created on: 08-11-16 19:09
NOP
1 Clock cycle to complete - used as a delay
1 of 11
CALL
Use to call subordinates - takes 2 clock cycle because it has to store the current value of the PC
2 of 11
RET
To exit the subroutine and to return to the main program
3 of 11
INC
increasing the contents of the register by 1. 1 clock cycle - then its restored in the register
4 of 11
DEC
decreasing the contents of the register by 1. 1 clock cycle - then stored back in the register, if 0 then zero flag is set
5 of 11
JMP
Change the location of the next instruction to be executed. instruction followed by address. address loaded into PC and takes 2 clock cycles
6 of 11
JPZ
Change the location of the next instruction ONLY IF the zero flag is set. If Z = 1 then it is loaded into the PC. if Z = 0 then it doesn't change
7 of 11
JPC
Change the location of the next instruction ONLY IT the carry flag is set. If C is set to 1 then its laoded into the PC. If C is set 0 doesn't change.
8 of 11
MOVWR
Instruction moves the contents of W into the register. If the zero flag is set then R = 0
9 of 11
MOVW
Instruction to move the next address into the work register. If the zero flag is set then W = 0
10 of 11
MOVRW
Move the contents of R into the working register.If the zero flag is set then W= 0
11 of 11

Other cards in this set

Card 2

Front

Use to call subordinates - takes 2 clock cycle because it has to store the current value of the PC

Back

CALL

Card 3

Front

To exit the subroutine and to return to the main program

Back

Preview of the back of card 3

Card 4

Front

increasing the contents of the register by 1. 1 clock cycle - then its restored in the register

Back

Preview of the back of card 4

Card 5

Front

decreasing the contents of the register by 1. 1 clock cycle - then stored back in the register, if 0 then zero flag is set

Back

Preview of the back of card 5
View more cards

Comments

No comments have yet been made

Similar Electronics resources:

See all Electronics resources »See all Assembly Instructions resources »