• Keine Ergebnisse gefunden

Register Machine List of instructions:

N/A
N/A
Protected

Academic year: 2022

Aktie "Register Machine List of instructions:"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Read into Register(n)  Register(n) ← a fixed number Register( Register(i) ) ← Register(j) Register(n) ← Register(i) + Register(j)  Register(n) ← Register(i) - Register(j)  Register(n) ← Register(i) * Register(j)  Register(n) ← Register(i) / Register(j)  Register(n) ← √( Register(i) )

Go to line j 

If Register(n) = 0, then go to line j

If Register(n) <= Register(m), then go to line j Output ← Register(n) 

Output ← “Some text” 

End

Register(n) ← Register(j)

Remark: Strictly speaking, the last instruction is not defined in the lecture notes. Therefore, it is not allowed to use it. However, since it is easy to simulate, and it is very convenient, we will allow the usage of this instruction in the exam.

Register Machine

List of instructions:

Referenzen

ÄHNLICHE DOKUMENTE

The ENVIRONMENT DIVISION is that part of the source program which specifies the equipment being used. It contains descriptions of the computers to be used both for

file system organization, may consider staying with the Bootstrap they are currently using instead of going through the lengthy reconfiguration cir reformatting

While this doctrine is not an exception to United Nation’s Article 2(4), 17 it is also equally clear that contemporary international law, and the UN Charter prohibit states

you could duplicate the same statements for the action in each place with- in the program. However, BASIC remembers where it was in the program before it

It is intended to be the firmware reference manuaL and to be used by the advanced microprogrammer of the Rikke MathiLda system.. WideStore, WS, is the common

This software is furnished subject to the following restrictions: it shall not be reproduced or copied without express written permission of MITS, Inc.. to take

This active high signal (1) indicates a fault, and inhibits further writing until the condition is corrected. Multiple heads selected. DC voltages are grossly out

Norman Schwarzkopf justified this action on the basis that “there was a great deal of military equipment” and that the Iraqi soldiers fleeing were not “a bunch of