Simple Instruction Set Simulator - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Simple Instruction Set Simulator

Description:

load ELF file, get segment, get entry point. disasm.cpp. disassemble instructions. Memory implementation. Main function. Fetch instructions ... – PowerPoint PPT presentation

Number of Views:133
Avg rating:3.0/5.0
Slides: 8
Provided by: Ala7108
Category:

less

Transcript and Presenter's Notes

Title: Simple Instruction Set Simulator


1
Simple Instruction Set Simulator
  • 08/12/22

2
  • core.cpp
  • fetch, execute, dump register/memory
  • memory.cpp
  • read 8/32 bits, write 8/32 bits
  • elffile.cpp
  • load ELF file, get segment, get entry point
  • disasm.cpp
  • disassemble instructions

3
Memory implementation
4
Main function
Fetch instructions
load inst data
Dump memory
Execute instruction
5
Test program
6
output
7
problem
  • Any other device/mechanism needs to be
    implemented now ?
  • Add other trace information ?
  • How to support multicore architecture ?
Write a Comment
User Comments (0)
About PowerShow.com