MCPcopy Create free account
hub / github.com/cmuratori/computer_enhance / SignBitFor

Function SignBitFor

perfaware/sim86/sim86_execute.cpp:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121static u16 SignBitFor(u32 WWidth)
122{
123 u16 Result = (WWidth == 1) ? (1 << 7) : (1 << 15);
124 return Result;
125}
126
127static u16 WidthMaskFor(u32 WWidth)
128{

Callers 4

UpdateCommonFlagsFunction · 0.85
UpdateArithFlagsFunction · 0.85
WriteShiftOpResultFunction · 0.85
ExecInstructionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected