Section outline

    • LOAD instruction
      “Loads the contents of mailbox xx into the calculator.”
      •  PC         --> MAR
      •  PC + 1   --> PC
      •  MDR      --> IR
      •  IR[add]  --> MAR //access the xx memory location
      •  MDR      --> A      //copy the data from memory to the accumulator

    • Diagramma per l'input di due numeri e la visualizzazione del più grande



      INP
      STA first
      INP
      STA second
      SUB first
      BRP secondBig
      LDA first
      OUT
      BRA endProgram
      secondBig LDA second
      OUT
      endProgram HLT
      first DAT
      second DAT
      0 INP
      1 STA 12
      2 INP
      3 STA 13
      4 SUB 12
      5 BRP 9
      6 LDA 12
      7 OUT
      8 BRA 11
      9 LDA 13
      10 OUT
      11 HLT
      12 DAT 0
      13 DAT 0

    • Interrupt vector (vettore delle interruzioni)

      https://it.wikipedia.org/wiki/Interrupt_vector