In keyboard status byte bit no 2 and 3 are used for ctrl and-08132
In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far *)(0x00400017);
This multiple choice question (MCQ) is related to the book/course vu cs609 System Programming. It can also be found in vu cs609 Final Term - Quiz No.2.
In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far *)(0x00400017);
if (((*scr)&12)==12)
if (((*scr)&8)==8)
if (((*scr)&4)==4)
if (((*scr)&2)==2)