Assembly Language Flashcards

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
Q

They introduce FORTRAN and COBOL in what year?

A

1960s

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

Name some specific areas where Assembly Language remains significant.

A

embedded systems, real-time systems, and operating system development.

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

Why has Assembly Language become less prevalent in mainstream software development?

A

due to the availability of higher-level programming languages.

28
Q

Year: it has become less prevalent in mainstream software development.

A

ASSEMBLY LANGUAGE TODAY (PRESENT)

29
Q

Enumerate 12 Mnemonics

A
  1. ADD
  2. SUB
  3. MUL
  4. DIV
  5. PUSH
  6. RET
  7. CMP
  8. JMP
  9. INC
    10.DEC
    11.AND,OR,XOR
  10. CALL
30
Q

what can we use to make a comment in Assembly Language?

A

;

31
Q

3 sections

A

data section
bss section
text section

32
Q

section.text
global_start
_start:

is found in what section?

A

text section

33
Q

What are the 4 Registers

A
  1. 8 - bit Registers
  2. 16 - bit registers
  3. 32- bit registers
  4. 64- bit registers
34
Q

Enumerate 8 - bit registers

A
  1. AL
  2. BL
  3. CL
  4. DL
35
Q

Enumerate 16 - bit registers

A
  1. AX
  2. BX
  3. CX
  4. DX
36
Q

Enumerate 32 - bit registers

A
  1. EAX
  2. ECX
  3. ECX
  4. EDX
37
Q

Enumerate 64 - bit registers

A
  1. RAX
  2. RBX
  3. RCX
  4. RDX
38
Q

What are the two parts of instruction

A
  1. name of instruction/ mnemonics
  2. operands
39
Q

It has two parts, first is the name of the instruction/mnemonic and the second are the operands.

A

Instructions

40
Q

What are the 4 Data Types

A
  1. Bytes
  2. Word
  3. Doubleword
  4. Quadword
41
Q

Doubleword is also known as _________

A

Dword

42
Q

Quadword is also known as ____________

A

Qword

43
Q

DATA TYPES: 8 - bits

A

Bytes

44
Q

DATA TYPES: 16 - bits

A

Word

45
Q

DATA TYPES: 32 - bits

A

Doubleword (Dword)

46
Q

DATA TYPES: 64 - bits

A

Quadword (Qword)

47
Q

DATA TYPES: 0-255

A

BYTES

48
Q

DATA TYPES: 0-65535

A

WORD

49
Q

DATA TYPES: 0-4,249,967,295

A

DOUBLEWORD

50
Q

DATA TYPES: 0-18,446,744,073,709,551,615

A

QUADWORD

51
Q

DATA TYPES: db 10

A

BYTES

52
Q

DATA TYPES: dw 1000

A

WORD

53
Q

DATA TYPES: dd 100000

A

DOUBLEWORD

54
Q

DATA TYPES: dq 100000

A

QUADWORD

55
Q

Define a section for initialized data

A

section.data

56
Q

Define a section for executable code

A

section.text

57
Q

Declare start as the entry point

A

_start:

58
Q

%eax: 1

A

sys_exit

59
Q

%eax: 2

A

sys_fork

60
Q

%eax: 3

A

sys_read

61
Q

%eax: 4

A

sys_write

62
Q

%eax: 5

A

sys_open

63
Q

%eax: 6

A

sys_close

64
Q

IDE IN ASSEMBLY LANGUAGE

A
  1. VS Code
  2. SASM
  3. WinAsm Studio
  4. Online Compilers:
65
Q

Online Compilers:

A
  1. OneCompiler
  2. TutorialsPoint