Simple, Custom Parsing with c++
- by bradkovach
Hi! I have been reading SO for some time now, but I truly cannot find any help for my problem.
I have a c++ assignment to create an IAS simulator.
Here is some sample code...
0 1 a
1 2 b
2 c
3 1
10 begin
11 . load a, subtract b and offset by -1 for jump+
11 load M(0)
12 sub M(1)
13 sub M(3)
14 halt
Using c++, I need to be…