Remove Twitter links.
[SquirrelJME.git] / assets / developer-notes / stephanie-gawroriski / 2017 / 05 / 09.mkd
blobac7ef312a0c2c41e363b605a648a8fb60ebbf026
1 # 2017/05/09
3 ## 08:15
5 Ok so what I need to do is I would say is to create a class which represents
6 branch target addresses for non-exceptions. Before I just had a basic integer
7 array but I suppose this time I should have something a bit more complex. I
8 would say to have a class which specifies what happens. I suppose a builder
9 and another class. A builder can work because it can be a single class which
10 holds this information. Basically I can just keep clearing it. But actually I
11 do not need two classes, I just need one. This would be a private class which
12 contains a bunch of state that can exist after each instruction is executed.
13 It would be safer than having a bunch of globals. It would also be more self
14 contained.