Assembly 80x86 help review need to double check work 38. What is the bit mask de
ID: 3570843 • Letter: A
Question
Assembly 80x86 help review need to double check work
38. What is the bit mask design to clear the bits in the positions 3 through 7 of the register AL, while passing through the bits in the positions 0 through 2? b) or AL, 0000 0111 c) or AL, 1111_1000 For the answer you select, please show your work here d) and AL, 0000 0111 39. If AL contains binary 1000 1111, which one will show the information of the binary bits in AL after performing operation SHR AL, 2 a) AL will contains 0011 1100 c) AL hold the binary 1110 0011 b) AL will contains 00100011 40. If AL contains binary 1000 1111, which one will show the information of the binary bits in AlL after performing operation ROL AL 2. a) AL will contains 0011 1100 c) AL hold the binary 1110 0011 b) AL will contains 0010 0011 41. To obtain default setting from microcomputer input port 0x61 under Linux operating system, which instruction is correct for C programming? Suppose we have declared unsigned char origBit a) outblorigBit, 0x6I) b) origBit-inb(Ox61) d) origBitoutb(Ox61) c outb 0x61, grigBit) 42. To send data information to an output port 0x42 under Linux operating system, which instruction is correct for C programming? Suppose we have declared unsigned char data a) outb data, Ox42) c) outb(0x42, data) b) data=inb(0x42) d) data=outb(0x42) 43. Under Linux operating system, which functions do you need to call to get permission to access IO ports of x86 computers? a) inb0 b) outb0 c) ioperm0 d) permit0 44. In order to close IO port number 0x42 and 0x43 under Linux operating system, which of the functions should be called? a) close(0x42, 2, 1) bprm(0x42, 2, 1) c close(0x42,1, 0) d)iopem(0x42,2,0 functions should be called? a) open(0x42, 2,1) bem(0x42, 2,1) c open(0x42, 1, 0) d)ioperm(0x42, 2, 0) 45. In order to open IO port number 0x42 and 0x43 under Linux operating system, which of theExplanation / Answer
38) a
39) b
40)b
41)a
42) a
43)c
44)d
45)a
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.