⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 languages.inc

📁 一个演示了用汇编语言编写的数据排序算法,源代码非常详细
💻 INC
字号:
;-----------------------------------------------------------------------------------------
;-- This file contains the language strings.
;-----------------------------------------------------------------------------------------



;-----------------------------------------------------------------------------------------
; The macro for counting and saving the offsets for each language string.
;-----------------------------------------------------------------------------------------

LANG_STRING MACRO stringName
  LOCAL result, currentIndex

  currentIndex = COUNT_LANG_STRINGS
  COUNT_LANG_STRINGS = COUNT_LANG_STRINGS + 1

  result CATSTR <lpSTR_>, <stringName EQU lpLANG_STRINGS + 4*currentIndex>
  EXITM result

ENDM


;-----------------------------------------------------------------------------------------
; The constant data segment.
;-----------------------------------------------------------------------------------------
.const

  ;---------------------------------------------------------------------------------------
  ;-- The number of language strings.

    COUNT_LANG_STRINGS   = 0


  ;---------------------------------------------------------------------------------------
  ;-- The offsets of each language string.

    LANG_STRING( LANGUAGE )
    LANG_STRING( TITLE_PROGRAM )
    LANG_STRING( PMENU_PROGRAM )
    LANG_STRING( MENUI_EXIT )
    LANG_STRING( PMENU_LANGUAGE )
    LANG_STRING( MENUI_LANG_GERMAN )
    LANG_STRING( MENUI_LANG_ENGLISH )
    LANG_STRING( PMENU_HELP )
    LANG_STRING( MENUI_HELP_GERMAN )
    LANG_STRING( MENUI_HELP_ENGLISH )
    LANG_STRING( MENUI_INFO )
    LANG_STRING( TAB_TABLE )
    LANG_STRING( TAB_GRAPHIC )
    LANG_STRING( S_ALGORITHMS )
    LANG_STRING( B_SELECTALL )
    LANG_STRING( B_SELECTNONE )
    LANG_STRING( S_DATA )
    LANG_STRING( UNSORTED )
    LANG_STRING( SORTEDASC )
    LANG_STRING( SORTEDDESC )
    LANG_STRING( S_ELEMENTS )
    LANG_STRING( B_OPTIONS )
    LANG_STRING( MENUI_DELETEALL )
    LANG_STRING( MENUI_DELETESEL )
    LANG_STRING( PMENU_COPYSAVE )
    LANG_STRING( MENUI_DIVTABULATOR )
    LANG_STRING( MENUI_DIVSEMICOLON )
    LANG_STRING( MENUI_COPYALL )
    LANG_STRING( MENUI_COPYSEL )
    LANG_STRING( MENUI_SAVEALL )
    LANG_STRING( MENUI_SAVESEL )
    LANG_STRING( PMENU_COLUMNS )
    LANG_STRING( MENUI_ALGORITHM )
    LANG_STRING( MENUI_ELEMENTS )
    LANG_STRING( MENUI_COMPARISONS )
    LANG_STRING( MENUI_EXCHANGES )
    LANG_STRING( MENUI_TIME )
    LANG_STRING( MENUI_MEMORY )
    LANG_STRING( MENUI_DATA )
    LANG_STRING( B_SORT )
    LANG_STRING( B_CANCEL )
    LANG_STRING( COL_ALGORITHM )
    LANG_STRING( COL_ELEMENTS )
    LANG_STRING( COL_COMPARISONS )
    LANG_STRING( COL_EXCHANGES )
    LANG_STRING( COL_TIME )
    LANG_STRING( COL_MEMORY )
    LANG_STRING( COL_DATA )
    LANG_STRING( SB_COMPARISONS )
    LANG_STRING( SB_EXCHANGES )
    LANG_STRING( S_ALGORITHMS2 )
    LANG_STRING( B_GENERATE )
    LANG_STRING( S_DELAY )
    LANG_STRING( CBI_EACHPASS )
    LANG_STRING( CBI_EACHCOMPARISON )
    LANG_STRING( CBI_EACHEXCHANGE )
    LANG_STRING( MS )
    LANG_STRING( TITLE_INFODIALOG )
    LANG_STRING( GB_INTERNET )
    LANG_STRING( S_EMAIL )
    LANG_STRING( S_WEBSITE )
    LANG_STRING( S_MASM32PACKAGE )
    LANG_STRING( S_FEELING )
    LANG_STRING( B_OK )
    LANG_STRING( ERR_TOMANYELEMENTS )
    LANG_STRING( TITLE_ERROR )
    LANG_STRING( ERR_INVALIDELEMENTVALUE )
    LANG_STRING( ERR_INSUFFICIENTMEMORY )
    LANG_STRING( GENERATINGDATA )
    LANG_STRING( ERR_NOALGORITHMSELECTED )
    LANG_STRING( TITLE_SAVEAS )
    LANG_STRING( MENUI_INCLUDEHEADERS )
    LANG_STRING( S_INITVALUE )
    LANG_STRING( MENUI_POINTS )
    LANG_STRING( MENUI_LINES )
    LANG_STRING( MENUI_SAVEASBITMAP )
    LANG_STRING( ERR_TOLARGEINITVALUE )
    LANG_STRING( ERR_INITVALUEINVALID )
    LANG_STRING( COL_INITVALUE )
    LANG_STRING( MENUI_INITVALUE )
    LANG_STRING( SORTINGPROCESSRUNNING )
    LANG_STRING( HELP_GERMAN )
    LANG_STRING( HELP_ENGLISH )
    LANG_STRING( S_FEEDBACK )
    LANG_STRING( ERR_NOTENOUGHMEMORY )
    LANG_STRING( ERR_STACKOVERFLOW )
    LANG_STRING( ERR_SAVEASBITMAP )


  ;---------------------------------------------------------------------------------------
  ;-- Language strings: English.

    LANG_English db "English", 0
                 db "Sorting algorithms in Assembly", 0
                 db "&Program", 0
                 db "&Exit", 0
                 db "&Language", 0
                 db "&German", 0
                 db "&English", 0
                 db "&Help", 0
                 db "&German help", 0
                 db "&English help", 0
                 db "&About ...", 0
                 db "Tabular representation", 0
                 db "Graphical representation", 0
                 db "Sorting algorithms to execute:", 0
                 db "Select &all", 0
                 db "Select &none", 0
                 db "Presorting:", 0
                 db "Unsorted", 0
                 db "Sorted ascending", 0
                 db "Sorted descending", 0
                 db "Number of elements:", 0
                 db "&Options", 0
                 db "Delete &all entries", 0
                 db "Delete &selected entries", 0
                 db "Copy/save entries", 0
                 db "Divider: &tab stop", 0
                 db "Divider: &semicolon", 0
                 db "Copy &all entries", 0
                 db "Copy s&elected entries", 0
                 db "S&ave all entries ...", 0
                 db "Save sel&ected entries ...", 0
                 db "&Columns", 0
                 db "&Algorithm", 0
                 db "&Elements", 0
                 db "&Comparisons", 0
                 db "E&xchanges", 0
                 db "&Time", 0
                 db "&Memory", 0
                 db "&Presorting", 0
                 db "&Sort", 0
                 db "&Cancel", 0
                 db "Algorithm", 0
                 db "Elements", 0
                 db "Comparisons", 0
                 db "Exchanges", 0
                 db "Time in ms", 0
                 db "Memory in byte", 0
                 db "Presorting", 0
                 db "Comparisons: ", 0
                 db "Exchanges: ", 0
                 db "Algorithm to execute:", 0
                 db "&Generate", 0
                 db "Delay:", 0
                 db "after each pass", 0
                 db "after each comparison", 0
                 db "after each exchange", 0
               	 db " ms", 0
               	 db "About", 0
               	 db "Internet", 0
               	 db "Email:", 0
               	 db "Website:", 0
               	 db "Get the MASM32-Package:", 0
               	 db "Get the feeling of Assembly:", 0
                 db "&Ok", 0
                 db "The maximum number of elements is 1.073.741.824 (2^30)!", 0
                 db "Error", 0
                 db "The number of elements is invalid!", 0
                 db "Insufficient memory exists!", 0
                 db "Creating elements", 0
                 db "You have to select at least one algorithm!", 0
               	 db "Save file", 0
               	 db "Include headers", 0
               	 db "RND Initialization value (optional):", 0
               	 db "Draw &points", 0
               	 db "Draw &lines", 0
               	 db "Save as bitmap ...", 0
               	 db "The initialization value for the random number generator is too large (max: 4.294.967.295)!", 0
               	 db "The initialization value for the random number generator is invalid!", 0
               	 db "Initialization value", 0
               	 db "&Initialization value", 0
               	 db "Abort the running algorithm?", 0
               	 db "help/de_help.chm", 0
               	 db "help/en_help.chm", 0
               	 db "Your feedback is welcome!", 0
               	 db ": Insufficient memory available!", 0
               	 db ": Stack overflow!", 0
               	 db "An error occured during creating the bitmap file!", 0
                 db 0


  ;---------------------------------------------------------------------------------------
  ;-- Language strings: German.

    LANG_German  db "Deutsch", 0
                 db "Sortieralgorithmen in Assembler", 0
               	 db "&Programm", 0
               	 db "&Ende", 0
               	 db "Sp&rache", 0
               	 db "&Deutsch", 0
                 db "&Englisch", 0
               	 db "&Hilfe", 0
                 db "&Deutsche Hilfe", 0
                 db "&Englische Hilfe", 0
               	 db "&Info ...", 0
               	 db "Tabellarische Darstellung", 0
               	 db "Grafische Darstellung", 0
               	 db "Auszuf黨rende Sortieralgorithmen:", 0
               	 db "&Alle ausw鋒len", 0
               	 db "&Keine ausw鋒len", 0
               	 db "Datenmenge:", 0
               	 db "Unsortiert", 0
               	 db "Aufsteigend sortiert", 0
               	 db "Absteigend sortiert", 0
               	 db "Anzahl der Elemente:", 0
               	 db "&Optionen", 0
               	 db "&Alle Eintr鋑e l鰏chen", 0
               	 db "&Markierte Eintr鋑e l鰏chen", 0
               	 db "Eintr鋑e kopieren/speichern", 0
               	 db "&Tabulator als Trennelement", 0
               	 db "&Semikolon als Trennelement", 0
               	 db "&Alle Eintr鋑e kopieren", 0
               	 db "&Markierte Eintr鋑e kopieren", 0
               	 db "Alle &Eintr鋑e speichern ...", 0
               	 db "Ma&rkierte Eintr鋑e speichern ...", 0
               	 db "S&palten", 0
               	 db "&Algorithmus", 0
               	 db "&Elemente", 0
               	 db "&Vergleiche", 0
               	 db "&Tauschoperationen", 0
               	 db "&Zeit", 0
               	 db "&Speicherverbrauch", 0
               	 db "S&ortierung", 0
               	 db "&Sortieren", 0
               	 db "A&bbrechen", 0
               	 db "Algorithmus", 0
               	 db "Elemente", 0
               	 db "Vergleiche", 0
               	 db "Tauschop.", 0
               	 db "Zeit in ms", 0
               	 db "Speicherverbrauch in Byte", 0
               	 db "Sortierung", 0
               	 db "Vergleiche: ", 0
               	 db "Tauschop.: ", 0
               	 db "Auszuf黨render Sortieralgorithmus:", 0
               	 db "&Generieren", 0
               	 db "Verz鰃erung:", 0
               	 db "nach jedem Durchlauf", 0
                 db "nach jedem Vergleich", 0
               	 db "nach jedem Tausch", 0
               	 db " ms", 0
               	 db "Info", 0
               	 db "Internet", 0
               	 db "Email:", 0
               	 db "Webseite:", 0
               	 db "Get the MASM32-Package:", 0
               	 db "Get the feeling of Assembly:", 0
               	 db "&Ok", 0
               	 db "Die maximale Anzahl an Elementen ist 1.073.741.824 (2^30)!", 0
               	 db "Fehler", 0
               	 db "Die angegebene Element-Anzahl ist ung黮tig!", 0
               	 db "Es ist nicht gen黦end Arbeitsspeicher verf黦bar!", 0
               	 db "Generierung der Datenmenge", 0
               	 db "Sie m黶sen mindestens einen Algorithmus ausw鋒len!", 0
               	 db "Datei speichern", 0
               	 db "Spaltenbezeichnungen einbeziehen", 0
               	 db "RND Initialisierungswert (optional):", 0
               	 db "&Punkt-Darstellung", 0
               	 db "&Linien-Darstellung", 0
               	 db "Speichern als Bitmap ...", 0
               	 db "Der Initialisierungswert f黵 den Zufallszahlengenerator ist zu gro

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -