lc-3-2 / lc32sim

LC-3.2 simulator
0 stars 0 forks source link

Time Not Injected Properly #28

Closed ammrat13 closed 1 year ago

ammrat13 commented 1 year ago

Currently, REG_CURTIME_ADDR is not hooked to anything when running in headless mode, and it returns a constant random value. With a GUI, it returns the result of SDL_GetTicks.

The expected behavior is for it to return the number of seconds since epoch (modulo 2**32) in either case.