assmbeler things Flashcards

know this shit

1
Q

מה זה IP בהקשר של אסמבלר?

A

instruction pointer.

מצביע למקום בזיכרון בו נימצאת הפקודה הבאה

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

פעולה ראשונה של המעבד?

A

בדיקת סינטקס

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

מה הם האוגרים של מעבד 8086?

A

Ax Bx Cx Dx
כול אחד בן 4 ספרות hex/ גודל 16 bit
מחולקים כול אחד ל 2 של 8 bit

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

מה jnz עושה?

A

jnz - jump not zero

מעביר את המיקום לIP אם התוצאה מהפעולה הקודמת היא לא 0

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

פעולה שניה של המעבד?

A

המרה לשפת מכונה

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

what is the CS registert?

A

segment register number 1

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

what is the DS register?

A

segment register number 2

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

what is the SS register?

A

segment register number 3

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

what is the ES register?

A

segment register number 4

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

what is the SP register?

A

index register number 1

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

what is the BP register?

A

index register number 2

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

what is the SI register?

A

index register number 3

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

what is the DI register?

A

index register number 4

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

what is the IP register?

A

index register number 5

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

what registers can be access with the h/l endings?

A

A B C D can be accessed by

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

how do you check for number of possible combinations

A

the number of possible values to the power of number of places for thous values

17
Q

how many flags are there for the 8086?

A

9

18
Q

when does the over flow flag light up? (it has nothing to do with overflowing anything)

A
when an operation dosnt make sense (if considered as a sign operation) for example 
(+) + (+) =    (-)
(-)  + (-)  =   (+)
(-)  -  (+) =   (+)
(+)  - (-)  =   (-)
19
Q

when does the sign flag light up?

A

when the MSB is light up.

20
Q

when does the zero flag light up

A

if the result is 0

21
Q

when does the Aux flag light up?

A

when you have as a result in the right digit a number with 2 digits(moving one to the left)
or
when we borrow from the left in subtraction (the 10-1=9 deal)

22
Q

when does the parity flag light up?

A

even number of 1’s.

23
Q

when does the carry flag light up?

A

in ADD - out of dedicated memory bounds result

In SUB - “borrowing” from a out of dedicated memory bounds