Simple RAM disassembler

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Simple RAM disassembler

Post by Panu » Mon 2018-05-28 14:11

Here's a small utility to peek into the instruction memory of VS1010 from the console.
VS1010>peeki 128
I:0x0080=0x00200000 // LDC 0x8000,A0
I:0x0081=0x36130024 // LDX (I6)+1,NULL
I:0x0082=0x3e120024 // STX LR0,(I6)+1
I:0x0083=0x3e05b814 // STX I6,(I6); STY I4,(I6)
I:0x0084=0x36150024 // LDX (I6)+1,I4
I:0x0085=0x3e007842 // STX A1,(I6); STY B0,(I6)+1
I:0x0086=0x3e00f850 // STX B1,(I6); STY I0,(I6)+1
I:0x0087=0x003f2090 // LDC 0xfc82,I0
I:0x0088=0x3e048001 // STX I2,(I6); LDY (I0),A1
I:0x0089=0xb1000024 // AND A1,A0,A0
Useful, for example, to see where handler or interrupt vectors point to.
Attachments
arch-peeki-2018-05-28-15-10-v1.zip
Source code
(22.89 KiB) Downloaded 20 times
peeki.dlx
VSOS executable
(19.75 KiB) Downloaded 21 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply