Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
121
static u16 SignBitFor(u32 WWidth)
122
{
123
u16 Result = (WWidth == 1) ? (1 << 7) : (1 << 15);
124
return Result;
125
}
126
127
static u16 WidthMaskFor(u32 WWidth)
128
{
Callers
4
UpdateCommonFlags
Function · 0.85
UpdateArithFlags
Function · 0.85
WriteShiftOpResult
Function · 0.85
ExecInstruction
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected