1.2.4 TYPES OF PROGRAMMIG LANGUAGES

9 Karteikartenvon Sabs2023
Diese Karteikarten lernenKostenlos · Spaced Repetition · iPhone, Android, Mac & Web

Alle Karten

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
Alle 9 Karten kostenlos lernen

Mehr Karteikarten: Informatik

Data Structures Final Review - GRAPHS ONLY54 KartenInformatik · EnglischHariProgramming Languages Test 145 KartenInformatik · EnglischTemplesignals midterm drei yu39 KartenInformatik · EnglischDiandreiCore Technical Principles 20%33 KartenInformatik · EnglischNickChapter 5: System Software27 KartenInformatik · Englisch—Griffith—Lesson 3.2 Joining Spatial and Non-Spatial Data21 KartenInformatik · EnglischDekanoJava Exam217 KartenInformatik · EnglischCornyUser Interfaces11 KartenInformatik · Englisch—Griffith—Software Architecture and Quality Attributes (Wk3)209 KartenInformatik · EnglischSamChapter 6: TCP/IP Basics124 KartenInformatik · EnglischManethelAssembly Language and 8086 Registers Midterm84 KartenInformatik · EnglischDiandreiNetworking: Client-Server and Ethernet69 KartenInformatik · Englischbauniee

Alle Decks: Informatik

Lerne diese Decks in der App

Kostenlos auf iPhone, Android, Mac und im Web. Füge jedes Deck mit einem Tipp zu deinem Konto hinzu.

Laden im App StoreJetzt bei Google Play
Alle 9 Karten kostenlos lernen