fork download
  1. LIST P=18F4520 ;directive to define processor
  2. #include <P18F4520.INC>;CPU specific variable definitions
  3. ORG 0x0000 ;code origin, program start from here
  4. Main: movlw 0x27 ;Load 27H to WREG
  5. addlw 0x32 ; Add 32H to WREG
  6. addlw 0x7F ; Add 7FH to WREG
  7. nop ; Do nothing
  8. nop ; Do nothing
  9. bra Main ; Goto the instruction labelled by Main
  10. nop
  11.  
  12.  
Success #stdin #stdout 0.02s 25520KB
stdin
Standard input is empty
stdout
LIST P=18F4520 ;directive to define processor
     #include <P18F4520.INC>;CPU specific variable definitions
          ORG 0x0000 ;code origin, program start from here
Main:     movlw 0x27 ;Load 27H to WREG
     addlw 0x32 ; Add 32H to WREG
     addlw 0x7F ; Add 7FH to WREG
     nop ; Do nothing
     nop ; Do nothing
     bra Main ; Goto the instruction labelled by Main
     nop
     END