I'm working my way through avoiding C Cross Compiler -> PDP1 issues.
I've a situation where the assembler is generated but throws a runtime error when the PDP1 simulator is applied. The error I get is:
PDP-1 simulator V3.8-1
Undefined instruction, PC: 000455 (000000)
Goodbye
after
pdp1-elf-as main.s -o main.o
pdp1-elf-ld -L/home/alien/pdp1-playground/build-gcc/gcc -o main.bin \
-T /home/alien/pdp1-playground/common/common.ld main.o \
../common/crt0.o -lgcc
pdp1-elf-objcopy -O dec_rim main.bin main.rim
pdp1 /home/alien/pdp1-playground/common/startup.pdp1
(startup.pdp1 contains:
set cpu mdv
att ptr main.rim
boot ptr
quit
)
What's the best way to see what's at PC:000455 that's out of alignment or miscoded for the simulator? Should I try a different assembler (perhaps with a listing option)?
TIA
--Alen