assmbeler things Flashcards
know this shit
מה זה IP בהקשר של אסמבלר?
instruction pointer.
מצביע למקום בזיכרון בו נימצאת הפקודה הבאה
פעולה ראשונה של המעבד?
בדיקת סינטקס
מה הם האוגרים של מעבד 8086?
Ax Bx Cx Dx
כול אחד בן 4 ספרות hex/ גודל 16 bit
מחולקים כול אחד ל 2 של 8 bit
מה jnz עושה?
jnz - jump not zero
מעביר את המיקום לIP אם התוצאה מהפעולה הקודמת היא לא 0
פעולה שניה של המעבד?
המרה לשפת מכונה
what is the CS registert?
segment register number 1
what is the DS register?
segment register number 2
what is the SS register?
segment register number 3
what is the ES register?
segment register number 4
what is the SP register?
index register number 1
what is the BP register?
index register number 2
what is the SI register?
index register number 3
what is the DI register?
index register number 4
what is the IP register?
index register number 5
what registers can be access with the h/l endings?
A B C D can be accessed by
how do you check for number of possible combinations
the number of possible values to the power of number of places for thous values
how many flags are there for the 8086?
9
when does the over flow flag light up? (it has nothing to do with overflowing anything)
when an operation dosnt make sense (if considered as a sign operation) for example (+) + (+) = (-) (-) + (-) = (+) (-) - (+) = (+) (+) - (-) = (-)
when does the sign flag light up?
when the MSB is light up.
when does the zero flag light up
if the result is 0
when does the Aux flag light up?
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)
when does the parity flag light up?
even number of 1’s.
when does the carry flag light up?
in ADD - out of dedicated memory bounds result
In SUB - “borrowing” from a out of dedicated memory bounds