1.2.4 TYPES OF PROGRAMMIG LANGUAGES

9 flashcardspar Sabs2023
Réviser ces flashcardsGratuit · répétition espacée · iPhone, Android, Mac et web

Toutes les cartes

1
What opcode
tells the CPU the job that needs to be done. eg adding or substracting
2
what operand
specifies the data that needs to be acted on.
3
what is immediate addressing
the value in operand is actually the value to be used
4
what is direct addressing
The value in operand references the address in memory where the value is located.
5
what is indirect addressing
operand gives the address of a register which holds the address of where the value needed is at
6
what is indexed addressing
An index register is used, which stores a certain value. The register which we need to go to is determined by operand + index register.
7
Input two numbers, The smaller number is subtracted from the larger and then the result is output.
inp
sta x
inp
sta y
sub x
brp oki
lda x
sub y
oki out
x dat
y dat
hlt
8
how to call upon a branch?
-------brp name

name out
9
A program that takes two inputs and subtracts the second from the first
inp
sta x
inp
sta y
LDA x
sub y
out
x dat
y dat
Réviser les 9 cartes gratuitement

Plus de flashcards : Informatique

Data Structures Final Review - GRAPHS ONLY54 cartesInformatique · AnglaisHariProgramming Languages Test 145 cartesInformatique · AnglaisTemplesignals midterm drei yu39 cartesInformatique · AnglaisDiandreiCore Technical Principles 20%33 cartesInformatique · AnglaisNickChapter 5: System Software27 cartesInformatique · Anglais—Griffith—Lesson 3.2 Joining Spatial and Non-Spatial Data21 cartesInformatique · AnglaisDekanoJava Exam217 cartesInformatique · AnglaisCornyUser Interfaces11 cartesInformatique · Anglais—Griffith—Software Architecture and Quality Attributes (Wk3)209 cartesInformatique · AnglaisSamChapter 6: TCP/IP Basics124 cartesInformatique · AnglaisManethelAssembly Language and 8086 Registers Midterm84 cartesInformatique · AnglaisDiandreiNetworking: Client-Server and Ethernet69 cartesInformatique · Anglaisbauniee

Tous les decks : Informatique

Révise ces decks dans l’app

Gratuit sur iPhone, Android, Mac et le web. Ajoute n’importe quel deck à ton compte en un tap.

Télécharger dans l’App StoreDisponible sur Google Play
Réviser les 9 cartes gratuitement