MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / DrawRegisters

Function DrawRegisters

source/Debugger/Debugger_Display.cpp:2557–2568  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

2555
2556//===========================================================================
2557void DrawRegisters ( int line )
2558{
2559 const char **sReg = g_aBreakpointSource;
2560
2561 DrawRegister( line++, sReg[ BP_SRC_REG_A ] , 1, regs.a , PARAM_REG_A );
2562 DrawRegister( line++, sReg[ BP_SRC_REG_X ] , 1, regs.x , PARAM_REG_X );
2563 DrawRegister( line++, sReg[ BP_SRC_REG_Y ] , 1, regs.y , PARAM_REG_Y );
2564 DrawRegister( line++, sReg[ BP_SRC_REG_PC] , 2, regs.pc, PARAM_REG_PC );
2565 DrawFlags ( line , regs.ps);
2566 line += 2;
2567 DrawRegister( line++, sReg[ BP_SRC_REG_S ] , 2, regs.sp, PARAM_REG_SP );
2568}
2569
2570
2571// 2.9.0.3

Callers 1

DrawSubWindow_InfoFunction · 0.85

Calls 2

DrawRegisterFunction · 0.85
DrawFlagsFunction · 0.85

Tested by

no test coverage detected