oh wow, good job! Also, it's assembly part looks really close to mine, i could help you make an actual assembler in c++
thank you :) it was fun to make with this sim. a few years ago I stumbled upon this https://github.com/hlorenzi/customasm. easy to use for any custom assembly you want. I Incorporated it in yet another SAP implementation I made using C# https://github.com/SamFarah/SAP1-Emulator/tree/SAP2