Assembly Language Flashcards

(65 cards)

1
Q

is a low-level programming language that is closely tied to the architecture of a particular computer’s CPU.

A

Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Assembly language provides a more __________ format

A

human-readable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Enumerate the history of assembly in order

A
  1. Early Computing
  2. Development of Assemblers
  3. Proliferation and Standardization
  4. The Rise of High-level languages
  5. Assembly Language today
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Year of Early Computing

A

1940s - 1950s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Year of Development of Assemblers

A

1950s-1960s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Year of Proliferation and Standardization

A

1960s-1970s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Year of The Rise of High-level languages

A

1970s-1980s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Year of Assembly Language Today

A

Present

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The First Assembly language is credited to ___________.

A

Kathleen Booth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In what year does the first assembly language credited to Kathleen Booth?

A

1947

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The reason why the first assembly language is credited to Kathleen Booth

A

ARC2 computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

It wasn’t quite the assembly language we know today, but it was a step away from raw machine code.

A

EARLY COMPUTING (1940s - 1950s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This was a significant shift, making programming slightly less cryptic.

A

DEVELOPMENT OF ASSEMBLERS
( 1950s - 1960s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EDSAC stands for

A

Electronic Delay Storage Automatic Calculator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What was the name of the computer that incorporated an assembler in 1949?

A

Electronic Delay Storage Automatic Calculator (EDSAC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What type of codes did the assembler in EDSAC use to represent machine code instructions?

A

mnemonics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

When did EDSAC integrate an assembler into its system?

A

1949.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What was the purpose of mnemonics in the assembler of EDSAC?

A

represent machine code instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

As computing become more widespread, different computer manufacturers developed their own assembly languages tailored to their hardware architectures

A

PROLIFERATION AND STANDARDIZATION
(1960s - 1970s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are examples of assembly languages that resulted from efforts to standardize?

A

ALGOL Assembly and ALM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Which language was developed as a result of standardization efforts?

A

ALGOL Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The introduction of high-level languages like FORTRAN and COBOL in the 1960s started to challenge assembly language’s dominance

A

THE RISE OF HIGH - LEVEL LANGUAGES (1970s - 1980s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What was the impact of the introduction of high-level languages like FORTRAN and COBOL on assembly language’s dominance?

A

challenge assembly language’s dominance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What advantages did high-level languages such as FORTRAN and COBOL offer over assembly language?

A

greater readability and portability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
They introduce FORTRAN and COBOL in what year?
1960s
26
Name some specific areas where Assembly Language remains significant.
embedded systems, real-time systems, and operating system development.
27
Why has Assembly Language become less prevalent in mainstream software development?
due to the availability of higher-level programming languages.
28
Year: it has become less prevalent in mainstream software development.
ASSEMBLY LANGUAGE TODAY (PRESENT)
29
Enumerate 12 Mnemonics
1. ADD 2. SUB 3. MUL 4. DIV 5. PUSH 6. RET 7. CMP 8. JMP 9. INC 10.DEC 11.AND,OR,XOR 12. CALL
30
what can we use to make a comment in Assembly Language?
;
31
3 sections
data section bss section text section
32
section.text global_start _start: is found in what section?
text section
33
What are the 4 Registers
1. 8 - bit Registers 2. 16 - bit registers 3. 32- bit registers 4. 64- bit registers
34
Enumerate 8 - bit registers
1. AL 2. BL 3. CL 4. DL
35
Enumerate 16 - bit registers
1. AX 2. BX 3. CX 4. DX
36
Enumerate 32 - bit registers
1. EAX 2. ECX 3. ECX 4. EDX
37
Enumerate 64 - bit registers
1. RAX 2. RBX 3. RCX 4. RDX
38
What are the two parts of instruction
1. name of instruction/ mnemonics 2. operands
39
It has two parts, first is the name of the instruction/mnemonic and the second are the operands.
Instructions
40
What are the 4 Data Types
1. Bytes 2. Word 3. Doubleword 4. Quadword
41
Doubleword is also known as _________
Dword
42
Quadword is also known as ____________
Qword
43
DATA TYPES: 8 - bits
Bytes
44
DATA TYPES: 16 - bits
Word
45
DATA TYPES: 32 - bits
Doubleword (Dword)
46
DATA TYPES: 64 - bits
Quadword (Qword)
47
DATA TYPES: 0-255
BYTES
48
DATA TYPES: 0-65535
WORD
49
DATA TYPES: 0-4,249,967,295
DOUBLEWORD
50
DATA TYPES: 0-18,446,744,073,709,551,615
QUADWORD
51
DATA TYPES: db 10
BYTES
52
DATA TYPES: dw 1000
WORD
53
DATA TYPES: dd 100000
DOUBLEWORD
54
DATA TYPES: dq 100000
QUADWORD
55
Define a section for initialized data
section.data
56
Define a section for executable code
section.text
57
Declare start as the entry point
_start:
58
%eax: 1
sys_exit
59
%eax: 2
sys_fork
60
%eax: 3
sys_read
61
%eax: 4
sys_write
62
%eax: 5
sys_open
63
%eax: 6
sys_close
64
IDE IN ASSEMBLY LANGUAGE
1. VS Code 2. SASM 3. WinAsm Studio 4. Online Compilers:
65
Online Compilers:
1. OneCompiler 2. TutorialsPoint