[Oberon] FPGA - `rsc' file format

Tomas Kral thomas.kral at email.cz
Sat Oct 14 21:26:44 CEST 2017


Hi,

EDIT
What is the `rsc' file format definition, as I see opcodes in
disassembly do not match words in `rsc' file?

e.g. 
C04D0000 (word) is different to 4D000000 (opcode)
005E00FF is different to 5E00FFC0

TestLEDs.rsc
C04D0000 005E00FF 08400000 C4A0D000 085000FF 0081D000 E8A10000 00000060
00400003 E8A0D000 04400003 04A0D000 0180D000 04400900 04A0D000 FB80D000
00000080 00E9FFFF 0180D000 00400900 00A0D000 F480D000 08E9FFFF
...

code
   8	 4D000000	MOV SB  R0      0
   9	 5E00FFC0	MOV SP  R0    -64
  10	 40000000	MOV  R0  R0      0
  11	 A0D00008	STR   R0 SB       8
  12	 5000FFC4	MOV  R0  R0    -60
  13	 81D00008	LDR  R1 SB       8
  14	 A1000000	STR   R1  R0       0
...

RSC = means, Risc System Code, Relocatable System Code?


-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list