Microcontroller PIC18F Assembly Language Code Write instru

Microcontroller - PIC18F - Assembly Language Code

Write instructions to load the byte 00in WREG. Does the instruction set the Z flag? Copy the byte in REG1 and set the Z flag.

Solution

MOVLW 0x00 ;loads the byte 00in WREG. and will not set Z flag

MOVLW 0x00

MOVWF REG1,0 ;loads the byte 00in REG1. and will set Z flag

Microcontroller - PIC18F - Assembly Language Code Write instructions to load the byte 00in WREG. Does the instruction set the Z flag? Copy the byte in REG1 and

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site