Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1d03e20e6ad7497edcb80d0f44eb5e7db7327f45
Ticket: 7b32d8d13b0e0b3d999e3beb2cfdd866c1471b8f
assembler brought low by jumps, labels, and nops
User & Date: dgp on 2013-09-16 22:01:20
Changes

  1. icomment:
    setting the repeat count to 0, gets me:
    
    working....
    ByteCode 0x0x10087a910, refCt 1, epoch 15, interp 0x0x100849c10 (epoch 15)
      Source "assemble {push 0; label test; jumpTrue end; push 1; jum"
      Cmds 1, src 72, inst 11, litObjs 3, aux 0, stkDepth 1, code/src 0.00
      Proc 0x0x1008b1f10, refCt 1, args 0, compiled locals 0
      Commands 1:
          1: pc 0-9, src 0-71
      Command 1: "assemble {push 0; label test; jumpTrue end; push 1; jum"
        (0) push1 0 	# "0"
        (2) jumpTrue1 +6 	# pc 8
        (4) push1 1 	# "1"
        (6) jump1 -4 	# pc 2
        (8) push1 2 	# ""
        (10) done 
    
    done.
    
    
    Setting the count to just 1 (sticking in one "nop;")
    brings it down.
    
  2. login: "dgp"
  3. mimetype: "text/plain"