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

Function AssemblerHashOpcodes

source/Debugger/Debugger_Assembler.cpp:991–1008  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

989
990//===========================================================================
991void AssemblerHashOpcodes ()
992{
993 Hash_t nMnemonicHash;
994 int iOpcode;
995
996 for ( iOpcode = 0; iOpcode < NUM_OPCODES; iOpcode++ )
997 {
998 const char *pMnemonic = g_aOpcodes65C02[ iOpcode ].sMnemonic;
999 nMnemonicHash = AssemblerHashMnemonic( pMnemonic );
1000 g_aOpcodesHash[ iOpcode ] = nMnemonicHash;
1001#if DEBUG_ASSEMBLER
1002 //OutputDebugString( "" );
1003 ConsolePrintFormat( "%s : %08X ", pMnemonic, nMnemonicHash );
1004 // CLC: 002B864
1005#endif
1006 }
1007 ConsoleUpdate();
1008}
1009
1010//===========================================================================
1011void AssemblerHashDirectives ()

Callers 1

AssemblerStartupFunction · 0.85

Calls 3

AssemblerHashMnemonicFunction · 0.85
ConsolePrintFormatFunction · 0.85
ConsoleUpdateFunction · 0.70

Tested by

no test coverage detected