handling custom opcodes (compiler)
#1
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. Big Grin
Reply


Messages In This Thread
handling custom opcodes (compiler) - by Roogadget - 07-24-2024, 01:52 PM
RE: handling custom opcodes (compiler) - by kgf - 07-24-2024, 02:53 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)