This assignment is due in class or to my office assistant in RH 215 by 3:00 pm on 19 October.
Start by looking on pages 29 to 39 of the
PIC24HJ32GP202/204 Data Sheet.
In this problem you are really going to be expected to match
an SFR name to an SFR address. For example, the name
PCL
is matched to address 002E
in
Table 4-1 on page 29. However, to make the task slightly less
tedious, the registers will be restricted to pages 29 and 38,
Using the instruction set format described in your textbook and in the spreadsheet discussed in class, translate each of the following PIC instructions into a 24-bit PIC instruction specified in binary. If you want the really detailed instruction set format description try the 16-bit MCU and DSC Programmer's Reference Manual.
ADD #200,W13
INC PORTB,WREG
INC.B LATB
MOV #200,W8
MOV PORTC,W3
MOV SR,W8
MOV WREG,SPLIM
MOV W8,PCL
MOV.B TRISA
MOV.B #18,W5