implement arm branches
which backfired into interpreter as plus actually means 0 or plus in arm may still change back but for now
This commit is contained in:
@ -59,7 +59,7 @@ module Interpreter
|
||||
old = get_register( reg ) # also ensures format
|
||||
if val.is_a? Fixnum
|
||||
@flags[:zero] = (val == 0)
|
||||
@flags[:plus] = (val > 0)
|
||||
@flags[:plus] = (val >= 0)
|
||||
@flags[:minus] = (val < 0)
|
||||
log.debug "Set_flags #{val} :#{@flags.inspect}"
|
||||
else
|
||||
|
Reference in New Issue
Block a user