# exe-header.asm.rb string "PS-X EXE" zero_fill 0x00f word @base_addr # initial pc word 0x00000000 # initial GP/R28 word @base_addr # destintation address in RAM word @file_size # file size excluding header (must be N * 0x800) word 0x00000000 # Unknown/Unused word 0x00000000 # Unknown/Unused word 0x00000000 # Memfill start address word 0x00000000 # Memfill size in bytes word 0x801ffff0 # Initial SP/R29 & FP/R30 Base word 0x00000000 # Initial SP/R29 & FP/R30 Offs zero_fill 0x4b # Reserved for A(43h) Function # Ascii marker would go here zero_fill 0x7ff