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

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.
Similar Threads
  1. Active8

    MPLAB 6.3 question

    Active8, Oct 7, 2003, in forum: Electronic Design
    Replies:
    3
    Views:
    839
    Anthony Fremont
    Oct 8, 2003
  2. plonk

    mplab: Register in operand not in bank 0

    plonk, Dec 22, 2003, in forum: Electronic Design
    Replies:
    3
    Views:
    4,948
    wonky plonky
    Dec 23, 2003
  3. kansas_ray

    MPLAB error message

    kansas_ray, Jan 8, 2004, in forum: Electronic Design
    Replies:
    2
    Views:
    814
    kansas_ray
    Jan 20, 2004
  4. Neil W.Fisk

    ??declare statements in MPLAB

    Neil W.Fisk, Feb 1, 2004, in forum: Electronic Design
    Replies:
    4
    Views:
    666
    Neil W.Fisk
    Feb 3, 2004
  5. Tim Wescott

    MPLAB IDE 6.53

    Tim Wescott, Jul 2, 2004, in forum: Electronic Design
    Replies:
    7
    Views:
    895
  6. Thomas Magma

    MPLAB IDE v7.10 [Logic Analyzer]

    Thomas Magma, Apr 13, 2005, in forum: Electronic Design
    Replies:
    1
    Views:
    867
    Thomas Magma
    Apr 14, 2005
  7. mas

    can someone post MPLAB c30 compiler TIA

    mas, Apr 25, 2006, in forum: Electronic Design
    Replies:
    1
    Views:
    350
    Genome
    Apr 25, 2006
  8. cw
    Replies:
    0
    Views:
    1,156
Loading...