MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / getImmediateBits

Function getImmediateBits

pcsx2/DebugTools/MipsAssembler.cpp:596–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596int getImmediateBits(MipsImmediateType type)
597{
598 switch (type)
599 {
600 case MIPS_IMMEDIATE5:
601 return 5;
602 case MIPS_IMMEDIATE16:
603 return 16;
604 case MIPS_IMMEDIATE20:
605 return 20;
606 case MIPS_IMMEDIATE26:
607 return 26;
608 default:
609 return 0;
610 }
611}
612
613bool CMipsInstruction::Validate()
614{

Callers 1

ValidateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected