1. D
2. G
3. ?
4.?
5. C
6. E
7. A
8. B

these are the answer i got so far, are they correct? any help is appreciated

Posted on 2011-11-16 20:45:34 by Legend
1, 5, 6 and 8 are correct.
2, 3, 4 and 7 are incorrect.
I don't think 3 corresponds to anything in column b. There's one answer that's close, but not exact.
Posted on 2011-11-17 05:14:10 by Scali
7. is G?
binary is Basic unit of information
2. is A?

3. Multyply by 4 ---> shift left 1 i found this in the book after a lot of reading
Posted on 2011-11-17 13:27:25 by Legend
3. Multyply by 4 ---> shift left 1 i found this in the book after a lot of reading


almost right!

using eax as an example:

shl eax, 1 = * 2
shl eax, 2 = * 4
shl eax, 3 = * 8
shl eax, 4 = * 16

so if you say
mov eax, 10
then the results from above would be

shl eax, 1 = 10 * 2  = 20
shl eax, 2 = 10 * 4  = 40
shl eax, 3 = 10 * 8  = 80
shl eax, 4 = 10 * 16 = 160
Posted on 2011-11-17 15:13:41 by MACH4

7. is G?
binary is Basic unit of information


Yea I guess... which I think is a bit weird.
I'd say a bit (Binary digit) is the basic unit of information, but not just 'binary'.


2. is A?


Yes, if I'm not mistaken, HLA is a frontend for MASM, Microsoft's Macro Assembler.
And MASM is invoked with ml.exe (MASM and LINK, just like their compiler is cl: Compile and Link. They both invoke link.exe unless you specifically tell them to skip the linking stage).


3. Multyply by 4 ---> shift left 1 i found this in the book after a lot of reading


Well, if you do shift left by 1 twice, you'd multiply by 4.
Shift left 1 is multiply by 2. So x*2*2 = x*4.
(Some CPUs can only shift by one bit at a time, so it's not that strange when one thinks "I need to multiply by 4", and then associates that with "I need to shift left by 1... two times").
Posted on 2011-11-17 17:57:30 by Scali