m68k¶
This architecture is also known as M68000.
M68000 architecture.
-
class
ppci.arch.m68k.
M68kArch
(options=None)¶ -
determine_arg_locations
(arg_types)¶ Determine argument locations.
-
determine_rv_location
(ret_type)¶ Determine the location of a return value of a function given the type of return value
-
gen_call
(frame, label, args, rv)¶ Generate instructions for a function call.
-
gen_epilogue
(frame)¶ Return epilogue sequence for a frame.
-
gen_function_enter
(args)¶ Generate code to extract arguments from the proper locations
The default implementation tries to use registers and move instructions.
Parameters: args – an iterable of virtual registers in which the arguments must be placed.
-
gen_prologue
(frame)¶ Generate the prologue instruction sequence
-
move
(dst, src)¶ Generate a move from src to dst
-