douggilliland / R32V2020

My 32-bit RISC CPU for smallish FPGAs
GNU General Public License v3.0
14 stars 3 forks source link

Add data locations in lst file #63

Closed douggilliland closed 4 years ago

douggilliland commented 5 years ago

@mjgpy3 Can you add addresses to the data values? Similar to the address column for instructions?

ex: label1: .long 0x12345678 label2: .long 0x88776655

Would produce something like:

label1: 00000000 12345678 label2: 00000004 88776655

mjgpy3 commented 5 years ago

@douggilliland they wouldn't increment the instruction pointer, right?

E.g.

label1: .long 0x42
addr r8, r9, r10

Would put the following?

00000000 label1: .long 0x42
00000000 addr r8, r9, r10
douggilliland commented 5 years ago

@mjgpy3 - yep