MCPcopy Create free account
hub / github.com/GJDuck/e9patch / isHighReg

Function isHighReg

src/e9tool/e9codegen.cpp:452–461  ·  view source on GitHub ↗

* Return `true' for high-byte registers. */

Source from the content-addressed store, hash-verified

450 * Return `true' for high-byte registers.
451 */
452bool isHighReg(Register reg)
453{
454 switch (reg)
455 {
456 case REGISTER_AH: case REGISTER_BH: case REGISTER_CH: case REGISTER_DH:
457 return true;
458 default:
459 return false;
460 }
461}
462
463/*
464 * Get a register name.

Callers 1

sendLoadRegToArgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected