riscemu.types.instruction_memory_section module
- class riscemu.types.instruction_memory_section.InstructionMemorySection(instructions: List[Instruction], name: str, context: InstructionContext, owner: str, base: int = 0)
Bases:
MemorySection
- __init__(instructions: List[Instruction], name: str, context: InstructionContext, owner: str, base: int = 0)
- name: str
- base: int
- context: InstructionContext
- size: int
- flags: MemoryFlags
- owner: str
- read(offset: int, size: int) bytearray
- write(offset: int, size: int, data: bytearray)
- read_ins(offset: int) Instruction