Some more opcodes... maybe somebody recognizes them (looks like 14 bits are used per opcode, but it not seems to be a PIC)
00 00 : NOP
67 00 : PCADD A
70 00 : WDRESET
72 00 : PUSHAF
73 00 : POPAF
75 00 : RESET
76 00 : STOPSYS
77 00 : STOPEXE
78 00 : ENGINT
79 00 : DISGINT
7A 00 : RET
9[ I ] 01 : MOV PA,A //IO
D[ I ]01 : MOV A,PA //IO
[PTR]1 03 : IDXM A,PTR
[PTR]0 03 : IDXM PTR,A
[M] 0B : MOV [MEM],A
[M] 0F : MOV A,[MEM]
[M] 13 : XCH M
IM 2F : MOV A,IMM
POS 30 : GOTO POS //POS is on WORDS
POS 38 : CALL POS //POS is on WORDS
FF 3F : ? ? ? used as filler, maybe invalid opcode
----
I defined a function on top of "Project.C and you can just write assembler inside
void fun(void)
{
MOV A,'T'
label1:
MOV A,'E'
GOTO label1
//...
//RET is inserted automatically from miniC
}
The function is placed in compiler output memory directly at start. Just 4 bytes in front of it which looks like this:
00 00 //NOP ?
09 30 //GOTO ...
They seem to come from "Project1.PRE" from the ".JMP FPPA0" directive
----
Have fun,
JS