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

Function Help_Operators

source/Debugger/Debugger_Help.cpp:154–199  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

152
153//===========================================================================
154void Help_Operators()
155{
156// ConsolePrintFormat( " %sOperators%s:" , CHC_USAGE, CHC_DEFAULT );
157// ConsolePrintFormat( " Operators: (Math)" );
158 ConsolePrintFormat( " Operators: (%sMath%s)" , CHC_USAGE, CHC_DEFAULT );
159 ConsolePrintFormat( " %s+%s Addition" , CHC_USAGE, CHC_DEFAULT );
160 ConsolePrintFormat( " %s-%s Subtraction" , CHC_USAGE, CHC_DEFAULT );
161 ConsolePrintFormat( " %s*%s Multiplication" , CHC_USAGE, CHC_DEFAULT );
162 ConsolePrintFormat( " %s/%s Division" , CHC_USAGE, CHC_DEFAULT );
163 ConsolePrintFormat( " %s%%%s Modulas or Remainder" , CHC_USAGE, CHC_DEFAULT );
164// ConsoleBufferPush( " Operators: (Bit Wise)" );
165 ConsolePrintFormat( " Operators: (%sBit Wise%s)" , CHC_USAGE, CHC_DEFAULT );
166 ConsolePrintFormat( " %s&%s Bit-wise and (AND)" , CHC_USAGE, CHC_DEFAULT );
167 ConsolePrintFormat( " %s|%s Bit-wise or (OR )" , CHC_USAGE, CHC_DEFAULT );
168 ConsolePrintFormat( " %s^%s Bit-wise exclusive-or (EOR/XOR)" , CHC_USAGE, CHC_DEFAULT );
169 ConsolePrintFormat( " %s!%s Bit-wise negation (NOT)" , CHC_USAGE, CHC_DEFAULT );
170// ConsoleBufferPush( " Operators: (Input)" );
171 ConsolePrintFormat( " Operators: (%sInput%s)" , CHC_USAGE, CHC_DEFAULT );
172 ConsolePrintFormat( " %s@%s next number refers to search results", CHC_USAGE, CHC_DEFAULT );
173 ConsolePrintFormat( " %s\"%s Designate string in ASCII format" , CHC_USAGE, CHC_DEFAULT );
174 ConsolePrintFormat( " %s\'%s Desginate string in High-Bit apple format", CHC_USAGE, CHC_DEFAULT );
175 ConsolePrintFormat( " %s$%s Designate number/symbol" , CHC_USAGE, CHC_DEFAULT );
176 ConsolePrintFormat( " %s#%s Designate number in hex" , CHC_USAGE, CHC_DEFAULT );
177// ConsoleBufferPush( " Operators: (Range)" );
178 ConsolePrintFormat( " Operators: (%sRange%s)" , CHC_USAGE, CHC_DEFAULT );
179 ConsolePrintFormat( " %s,%s range separator (2nd address is relative)", CHC_USAGE, CHC_DEFAULT );
180 ConsolePrintFormat( " %s:%s range separator (2nd address is absolute)", CHC_USAGE, CHC_DEFAULT );
181// ConsolePrintFormat( " Operators: (Misc)" );
182 ConsolePrintFormat( " Operators: (%sMisc%s)" , CHC_USAGE, CHC_DEFAULT );
183 ConsolePrintFormat( " %s//%s comment until end of line" , CHC_USAGE, CHC_DEFAULT );
184// ConsoleBufferPush( " Operators: (Breakpoint)" );
185 ConsolePrintFormat( " Operators: (%sBreakpoint%s)" , CHC_USAGE, CHC_DEFAULT );
186
187 std::string sText = " " CHC_USAGE;
188 for ( int iBreakOp = 0; iBreakOp < NUM_BREAKPOINT_OPERATORS; iBreakOp++ )
189 {
190 if ((iBreakOp >= PARAM_BP_LESS_EQUAL) &&
191 (iBreakOp <= PARAM_BP_GREATER_EQUAL))
192 {
193 sText += g_aBreakpointSymbols[ iBreakOp ];
194 sText += ' ';
195 }
196 }
197 sText += CHC_DEFAULT;
198 ConsolePrint( sText.c_str() );
199}
200
201void Help_KeyboardShortcuts()
202{

Callers 1

CmdHelpSpecificFunction · 0.85

Calls 2

ConsolePrintFormatFunction · 0.85
ConsolePrintFunction · 0.85

Tested by

no test coverage detected