243: // Extract the value set to PC
244: readMem(baddr, &nextPC, REGSZ, 2);
245:
283: // Extract the value set to PC
284: readMem(paddr, &nextPC, REGSZ, 2);
285:
286: // obtain the next mode from the saved spsr inside stack.
287: readMem(saddr, &spsr, REGSZ, 2);
288: if (spsr & PSR_T) nextLen = tINSTSZ;
349: // Extract 2nd instruction
350: readMem(nextPC, &inst2, tINSTSZ, 2);
351:
389: // extract PC
390: readMem(sp, &nextPC, REGSZ, 2);
391: }
471: // extract op code
472: if (readMem(pc, &inst, len, 2) != len) goto EXIT;
473: repInst = inst; // instruction to replace