[x]; flag(r > 0xFFF); this.i = r % 0x1000; break;
              case 0x2: /* BCD */ r = this.v[x]; for(j=2;j>=0;j--){ smem(this.i+j, Math.floor(r%10)+0x30); r/=10; }; break;
              case 0x3: /* DMP */ for(j=0;j<(x+y)%16;j++){ smem(this.i+j, this.v[x+j]); } break;
              case 0x4: /* RST */ for(j=0;j<(x+y)%16;j++){ this.v[x+j] = gmem(this.i+j); } break;
              default: unknown(instr); break;
            }
          break;

          default: unknown(instr); break;
        }
      }

    