GATEverse
← GATE CSE 1990

Q9a

NATMarks unknown

Assume that an instruction test-and-set (TS) has been provided in a machine whose function is as follows: 'the left most bit of the one byte operand is checked and accordingly the condition code (CC) is set to 11 or 00. After checking and setting the condition code, implement a critical region using this instruction.

Sign in to save attempts.

Loading…