dannybpoulsen / minimc

7 stars 2 forks source link

Initialisation of "global" memory locations are not working properly #15

Closed dannybpoulsen closed 2 years ago

dannybpoulsen commented 2 years ago

The problem was that the initialisation step tried to store an aggregate register into memory. The vm implementations however did not support aggregates (and Boolean) and silently ignored the storage instruction.

The VM has been updated to support storing aggregates. It should now also throw an exception when trying to store unsupported values