Question

You are building a basic CPU with a classic RISC pipeline. Answer the following about a seemingly harmless instruction you may use, for 10 points each.
[10m] Name this instruction, which can be used to implement a pipeline stall in certain architectures, including x86 and MIPS (“mips”). A “sled” or “slide” is named for this instruction, which does nothing when executed.
ANSWER: NOP [or no-op or NOOP or no operation]
[10h] In x86, a NOP is implemented by completing this atomic action equivalent to three MOV instructions on the AX register. This action can be used to implement a semaphore in x86 because it activates a bus lock.
ANSWER: XCHG [or exchanging two registers; accept descriptions of swapping the contents of two registers]
[10e] An attacker may install a NOP slide in memory while exploiting this type of vulnerability where the bounds of allocated memory are exceeded. A common coding website is named for this effect occurring to a stack.
ANSWER: overflow [or overrun; accept buffer overflow or buffer overrun; accept Stack Overflow]
<KJ, Other Science: Computer Science>

Back to bonuses

Summary

Data

Berkeley BBerkeley A001010
Stanford ABerkeley C1001020
McDouble West-CarletonWaterloo1001020
Ottawa AOttawa C001010
Toronto Ray of Sun in the SkyOttawa B1001020
I will play anything with a buzzer in front of meSGV Capital10101030
DukeJames Madison A001010
James Madison BNorth Carolina A1001020
South Carolina ANorth Carolina B001010
South Carolina BNC State001010
Emory AGeorgia Tech B001010
Georgia Tech CGeorgia A001010
Georgia Tech DGeorgia B001010
Tennessee AGeorgia Tech A001010
BirminghamBristol001010
Cambridge BCambridge A0101020
EdinburghDurham001010
Imperial AImperial B1001020
OxfordWarwick001010
Chicago AIndiana001010
Chicago BNotre Dame B001010
Illinois BPurdue A001010
Notre Dame AVanderbilt001010
Illinois APurdue B001010
Kenyon BTeam 2001010
Michigan B Michigan A 001010
Kenyon AOhio State A001010
Boston CollegeZen and the Art of Buzzing001010
FarrellmagnetismGanon Evans Fan Club001010
MSU A and FriendArizona State001010
RITCornell R0101020
Syracuse+RochesterCornell MATLAB001010
Texas BHCC001010
TAG Magnet: Taylor's VersionTAMU001010
Texas ATexas C001010
Missouri ASIUE001010
WUSTL H2OMissouri B001010
WUSTL XYZSquidward Community College001010