MIPS¶
Module¶
Mips architecture
-
class
ppci.arch.mips.MipsArch(options=None)¶ Mips architecture
-
determine_arg_locations(arg_types)¶ Determine argument location for a given function
-
determine_rv_location(ret_type)¶ return value in v0-v1
-
gen_call(frame, label, args, rv)¶ Generate instructions for a function call.
-
gen_epilogue(frame)¶ Return epilogue sequence
-
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)¶ Returns prologue instruction sequence
-
get_runtime()¶ Retrieve the runtime for this target
-
move(dst, src)¶ Generate a move from src to dst
-