07-24-2024, 01:52 PM
I'm doing some research to better understand how everything comes together when using pulpissimo.
I'm curious about the compiler and custom opcodes.
How and where does the compiler know how to handle these opcodes when compiling a program? Is it "Inline Assembly"?
I've found all the opcodes for the pulp0, pulp1..gap9...etc. Now I'm after looking for either "Machine Description Files", "target specific header files" or "Compiler Backend Code".
I'd like to add a custom opcode and have the compiler utilise that opcode in the future.
(I'm a complete compiler newbie.)
Thanks in advanced.
I'm curious about the compiler and custom opcodes.
How and where does the compiler know how to handle these opcodes when compiling a program? Is it "Inline Assembly"?
I've found all the opcodes for the pulp0, pulp1..gap9...etc. Now I'm after looking for either "Machine Description Files", "target specific header files" or "Compiler Backend Code".
I'd like to add a custom opcode and have the compiler utilise that opcode in the future.
(I'm a complete compiler newbie.)
Thanks in advanced.