.include /mit/6.004/bsim/beta.uasm start: CMOVE(10000,R0) | initialize the loop counter loop: LD(R31, 0x0F0, R1) LD(R31, 0x1F4, R1) LD(R31, 0x2F8, R1) LD(R31, 0x3FC, R1) SUBC(R0,1,R0) | decrement loop counter by one BNE(R0,loop) | and iterate if still not zero HALT() | halt when test is complete . = 0xFFFC | allocate 65K bytes of memory LONG(0)