program Boot // Input: A program (239 words). // Output: - // Remarks: Loads memory sectors 10 (inclusive) through FF (exclusive) program // from stdin. // ----------------------------------------------------------------------------- 00: 7101 R[1] <- 0001 01: 7210 R[2] <- 0010 i = 10; 02: 73FF R[3] <- 00FF // do { 03: 8AFF read R[A] scanf("%hX", &a); 04: BA02 mem[R[2]] <- R[A] mem[i] = a; 05: 1221 R[2] <- R[2] + R[1] i++; 06: 2432 R[4] <- R[3] - R[2] 07: D403 if (R[4] > 0) goto 03 } while (i < 255)