NEW
Font size
WorksheetsPIC_ADDITION
Total questions: 10
Worksheet time: 7mins
MOVLW 14H,After executing this instruction W=?
00H
41H
14H
15H
If content of memory location 30H to be added with 'W' register,the instruction is
ADDLW 30H
ADDWF 30H,0
ADD 30H
ADDC 30H
BTFSS STATUS,0 will check the status of
Digit carry flag
Zero Flag
Sign Flag
Carry Flag
Carry Flag,Digit carry ,Zero flag available in which register?
FSR
INDF
STATUS
W
BCF STATUS,C will
Clear the Carry Flag
Set the Carry Flag
Clear the digit carry
Set the digit carry
MOVWF 30H,The instruction
Move the content of File register 30H to W
Move the content of W to File register 30H
Move the content of File register 30H to File register 30h
Move the content of W to W
Carry flag=1 ,if carry generated from
D6 th bit
D3 to D4 bit
D0 th bit
D7 th bit
ADDWF PORTB,0 will put the result in
W register
File Register
PORTB
00H
MOVLW 06H
ADDLW 06H
After executing above instructions,W=?
12H
0BH
0CH
06H
BSF 30H,5 will result
All bits of 30H is SET
Upto 5th of 30H is SET
5 th of 30H is SET
5 th of 30H is CLEAR
