Notes in Assembly Language Flashcards

1
Q

How many columns does a typical video screen have

A

80

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

How many rows does a typical video screen have?

A

25

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

Code for clearing screen

A

MOV AX,3
INT 10H

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

MOV AH,0 (0000)

A

Video Mode

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

MOV AH,1 ;(0100)

A

Single Character Input

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

MOV AH,2 ;(0200)

A

Single Character Output

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

MOV AH,6 ;(0600)

A

Monitor Screen Processing

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

MOV AH,8 ;(0800)

A

Single Character Input No Echo

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

MOV AH,9 ;(0900)

A

String Output

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

MOV AH,10 ;(0A00)

A

String Input

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

How many colors can background display?

A

8

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

How many colors can be used as text color?

A

16

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

What does the msb of the background color represent?

A

Blinking

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

What does the msb of the text color represent?

A

Intensity

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

Is used to compare character data, as well as, numeric data fields

A

CMP

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

The main use is in decision making in conjunction with conditional jump instructions

A

CMP

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

These are instructions that transfer control depending on the setting of CMP instruction whether a certain condition is met or not.

A

Conditional Jump

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

Is considered an unconditional jump instruction because the machine always executes it

19
Q

Make it possible to break a large program down into smaller pieces so that each piece can be shown to work correctly without reference to any of the others

20
Q

Used for filling in time or filling space on tape when there is no data

A

NUL (null)

21
Q

Used when there is need to call human attention

A

BEL (bell)

22
Q

Indicates that the code combinations, which follow, shall be interpreted as outside of the standard character set until SHIFT IN character is reached

A

SO (Shift Out)

23
Q

Used to obliterate unwanted characters

A

DEL (delete)

24
Q

A nonprinting used to separate words, or to move the printing mechanism or display cursor forward by one position

A

SP (space)

25
A character which shall change the meaning of one or more contiguously following characters.
DLE (Data Link Escape)
26
It can provide supplementary controls, or permits the sending of data characters having any bit combination
DLE (Data Link Escape)
27
Character for the control of auxiliary devices or special terminal features
Device Controls
28
Indicates that the data which precedes it in message or black, should be disregarded
CAN (cancel)
29
Indicates the physical end card, tape or other medium, or the end of the required or used portion of the medium
EM (End of Medium)
30
Substitute for a character that is found to be erroneous or invalid
SUB (Substitute)
31
A character intended to provide code extension in that it gives a specified number of continuously following characters an alternate
ESC (Escape)
32
Indicates movement of the printing mechanism or display cursor backwards one position
BS (Backspace)
33
Indicates movement of the printing mechanism or display cursor to the next pre assigned "tab" or stopping position
HT (Horizontal Tab)
34
Indicates movement of the printing mechanism or display cursor to the start of the next line
LF (Line Feed)
35
Indicates movement of the printing mechanism or display cursor to the next series of pre-assigned printing lines
VT (Vertical Tab)
36
Indicates movement of the printing mechanism or display cursor to the starting position of the next page, form or screen
FF (Form Feed)
37
Indicates movement of the printing mechanism or display cursor to the starting position of the same line
CR (Carriage Return)
38
Used to indicate the start of a heading, which may contain address or routing information
SOH (Start of Heading)
39
Used to indicate the start of the text and also indicates the end of the heading
STX (Start of Text)
40
Used to terminate the text, which was started was started with STX
ETX (End of Text)
41
Indicates the end of a transmission, which included one or more "text's" with their headings
EOT (End of Transmission)
42
A request for a response from a remote station
ENQ (Enquiry)
43
A character transmitted by a receiving device as an affirmation response to sender
ACK (Acknowledgement)
44
A character transmitted by a receiving device as a negative response to polling messages
NAK (Negative Acknowledgement)