mcs6500¶
The famous 6502!
-
class
ppci.arch.mcs6500.Mcs6500Arch(options=None)¶ 6502 architectur
-
determine_arg_locations(arg_types)¶
-
determine_rv_location(ret_type)¶ Determine the location of a return value of a function given the type of return value
-
gen_call(label, args, rv)¶ Generate instructions for a function call.
-
gen_epilogue(frame)¶ Generate instructions for the epilogue of a frame.
Parameters: frame – the function frame for which to create a prologue
-
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 instructions for the epilogue of a frame.
Parameters: frame – the function frame for which to create a prologue
-