Branch Predictor Simulator

Procedure

  1. Enter the assembly code in the code box provided or copy the example code.
  2. Click 'Generate Trace' to generate the execution trace for the program.
  3. Select the type of predictor you want to use (One-Bit or Two-Bit).
  4. Click on the 'Run Simulation' button to see the predictor's performance.
  5. You can reset the simulation at any time by clicking the 'Reset' button.

Allowed Instructions

Enter Assembly Program