gnupic: gpsim-0.20.5


Previous by date: 24 Sep 2000 01:12:11 -0000 A few questions about new version of mary, Wojtek Zabolotny
Next by date: 24 Sep 2000 01:12:11 -0000 Re: A few questions about new version of mary, Francisco Rodrigo Escobedo Robles
Previous in thread:
Next in thread:

Subject: gpsim-0.20.5
From: Scott Dattalo ####@####.####
Date: 24 Sep 2000 01:12:11 -0000
Message-Id: <Pine.LNX.4.21.0009232004290.14919-100000@tempest2.blackhat.net>

http://www.dattalo.com/gnupic/gpsim.html
http://www.dattalo.com/gnupic/gpsim-0.20.5.tar.gz

In preparation for a gui based trace viewer, I've cleaned up the command line
version. Here's an example of single stepping

before:

gpsim> step
16c84  0x0011  0x078C  addwf    temp,f
   read: 0x08 from temp
  wrote: 0x48 to temp
  wrote: 0x18 to status
  cycle: 0x098063b

after:

gpsim> step
0x00000000013577FE  16c84  0x0006  0x0A0D  incf x,w
   read: 0x92 from x
  wrote: 0x93 to W
  wrote: 0x18 to status

The main difference is that the cycle is now displayed in the same line of the
instruction.

-----------------------

In addition, the trace dump command has been cleaned up too:

before:

gpsim> trace 20
   read: 0x1a from status
  wrote: 0x1a to status
  pc: 0x0010 rrf        temp,f
  cycle: 0x0980639
instruction: 0x0c8c
   read: 0x10 from temp
   read: 0x1a from status
  wrote: 0x08 to temp
  wrote: 0x1a to status
  pc: 0x0011 addwf      temp,f
  cycle: 0x098063a
instruction: 0x078c
   read: 0x08 from temp
  wrote: 0x48 to temp
  wrote: 0x18 to status
  pc: 0x0012 rrf        temp,f
  cycle: 0x098063b

after:

gpsim> trace 5
0x00000000013577F8  16c84  0x0015  0x1003  bcf  status,0
   read: 0x18 from status
  wrote: 0x18 to status
0x00000000013577F9  16c84  0x0016  0x0C0C  rrf  temp,w
   read: 0x72 from temp
   read: 0x18 from status
  wrote: 0x39 to W
  wrote: 0x18 to status
0x00000000013577FA  16c84  0x0017  0x0008  return
0x00000000013577FC  16c84  0x0009  0x2806  goto 0x0006
0x00000000013577FE  16c84  0x0006  0x0A0D  incf x,w
   read: 0x92 from x
  wrote: 0x93 to W
  wrote: 0x18 to status


As you can see, the dump command looks similar to the trace after single
stepping. Furthermore, the cycle, PC, and instruction traces have been combined
into a single line. The trace information associated with the cycle appears
indented. Also notice that the trace parameter now specifies the number of
instructions instead of the number of raw trace entries.

If you have any comments or suggestions about this, let me know!

These changes are NOT in CVS because for some reason I'm unable to get access...

Scott

PS. I'm going to be at the Embedded Systems Conference in San Jose California
this week. There are some of us from the PICLIST getting together. If anybody
cares to join us, we'll be meeting at 6:30pm on Tuesday at the Byte Craft booth.


Previous by date: 24 Sep 2000 01:12:11 -0000 A few questions about new version of mary, Wojtek Zabolotny
Next by date: 24 Sep 2000 01:12:11 -0000 Re: A few questions about new version of mary, Francisco Rodrigo Escobedo Robles
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.