MPLAB SIM - Status register...

Discussion in '8bit Microcontrollers' started by Bill, Jun 22, 2010.

  1. Bill

    Bill Guest

    With C18, I can specify the Status Z register with "STATUSbits.Z"

    Can I do something similar with MPLAB SIM in the watch window? Or just list
    the whole STATUS register?

    I see there is a lower case "n ov z dc c" at the bottom of MPLAB. Then some
    of these change to upper case when the program is stopped.
    Like: "n ov Z DC C". So I assume that means they are set or 1. And in this
    case the STATUS in the watch window shows red 0x07 which would seem to
    confirm that...
     
    Bill, Jun 22, 2010
    #1
    1. Advertisements

  2. Bill

    Bill Guest

    Bill, Jun 22, 2010
    #2
    1. Advertisements

  3. Bill

    Ian M Guest

    Ian M, Jun 22, 2010
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.