Skip to content

Instantly share code, notes, and snippets.

Created August 28, 2013 18:11
Show Gist options
  • Save anonymous/6369288 to your computer and use it in GitHub Desktop.
Save anonymous/6369288 to your computer and use it in GitHub Desktop.
type
tPIm = proc (ob: tNavmBackend,v: tNavmSCell,f: bool)
tP = proc (ob: tNavmBackend,f: bool)
proc compCond (ob:tNavmFrontend,v: tNavmSCell,p: tPIm,q: tP,r: tNavmSCell,f: bool) =
val n: tNavmSCell = v shr r
if f != false:
if n < 1:
p (ob,v,ob.ob.fDisAsm)
ob.oCodeMem = ob.oCodeMem + 1
else:
q (ob,ob.fDisAsm)
ob.oCodeMem = ob.oCodeMem + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment