x86-64 architecture Flashcards

1
Q

how many GPRS

A

16

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

each gpr holds

A

64 bits

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

GPRS

A

rax, rbx, rcx, rdx, rsi, rdi, rbp, rsp, r8-r15

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

accessing portion of GPR

A

different lettering
- 64 bits –> rax
- lowest 32 bits –> eax
- lowest 16 bits –> ax
- lowest 8 bits –> al

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

what are rFLAGS used for

A

status and CPU control information; stores status info about instruction that was just executed; updated by CPU and not accessible thru programs

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

carry flag

A

an rFLAG; used to indicate if previous operation resulted in a carry

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

types of rFLAGS

A

carry, parity (even # of 1’s) , adjust (binary coded decimals), zero, sign (negative), direction (increment or decrement), overflow

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

all memory addresses hold

A

one byte (8 bits)

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

memory addresses

A

fixed length sequence of digits

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

memory location

A

binary or decimal number

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

little-endian

A

used for multibyte data types (int, float) last byte of binary representation is stored first

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

big-endian

A

used for multibyte data types (int, float) ; first byte of binary representation is stored first

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