Start movlw 0x67 addlw 0x33 sleep a specify the

This preview shows page 2 - 5 out of 7 pages.

5.START:MOVLW0x67ADDLW0x33SLEEPa.Specify the result you expect in the W register.
b.Specify the flags that are set after the addition.
c.Specify the byte you would observe in the STATUS register.a.When going through the program the STATUS register set the N and OV flagsafter the ADDLW instruction (18H).Assemble the program using the editor and the assembler of the MPLAB starting atlocation 0020H.Build the project and execute the instructions using the single step and verify your answers.
6.START:MOVLW0x42SUBLW0x33SLEEPa.Specify the result you expect in the W register.
b.Specify the flags that are set after the addition.
c.Specify the byte you would observe in the STATUS register.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 7 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
N/A
Tags
X86, Status register, Carry flag, MOVLW

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture