Skip to main content
Side panel
Home
More
English (en)
English (en)
Italiano (it)
You are currently using guest access
Log in
Home
Expand all
Collapse all
Open course index
Open block drawer
tut-prog-sistemi
Esercizi
Esercizi
Section outline
Select activity LOAD instruction“Loads the contents of mailbox xx ...
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
Select activity Diagramma per l'input di due numeri e la visualizz...
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
Select activity Interrupt vector (vettore delle interruzioni)https...
Interrupt vector
(
vettore delle interruzioni
)
https://it.wikipedia.org/wiki/Interrupt_vector