diff --git a/NEWS.md b/NEWS.md index 36b1b4c6..ec3f7b98 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ Red Panda C++ Version 2.15 - fix: Static class members is not correctly recognized as static. - fix: Function with reference type return value is not correctly parsed. - - enhancement: Add descriptions for x86 registers in the cpu info dialog. + - enhancement: Add description tooltips for x86 registers in the cpu info dialog. - fix: Search dialog shouldn't have "prompt when replace". - change: Default value for the debugger debugger panel "memory view's columns" is changed from 8 to 16. - change: Default value for the debugger debugger panel "memory view's rows" is changed from 8 to 16. @@ -11,6 +11,8 @@ Red Panda C++ Version 2.15 - enhancement: Auto close other search/replace dialogs when start to search/replace. - change: Remove "prompt when replace" in the replace. - fix: Search/replace with regex is not correctly handled. + - enhancement: Show descriptions mouse tip for assebmly instructions. (editor / cpu info dialog) + - fix: When completing resigter names, an extra '%' is wrongly added. Red Panda C++ Version 2.14 diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 4a2335e1..84e2a874 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -450,7 +450,9 @@ TRANSLATIONS += \ translations/RedPandaIDE_pt_BR.ts EXTRA_TRANSLATIONS += \ - ../libs/redpanda_qt_utils/qt_utils_zh_CN.ts + ../libs/redpanda_qt_utils/qt_utils_zh_CN.ts \ + ../libs/qsynedit/qsynedit_zh_CN.ts + #CONFIG += lrelease embed_translations diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index ab41d217..5b0f4673 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -206,10 +206,11 @@ Editor::Editor(QWidget *parent, const QString& filename, mAutoBackupTimer.setInterval(1); connect(&mAutoBackupTimer, &QTimer::timeout, this, &Editor::onAutoBackupTimer); - connect(&mTooltipTimer, &QTimer::timeout, - this, &Editor::onTooltipTimer); } + connect(&mTooltipTimer, &QTimer::timeout, + this, &Editor::onTooltipTimer); + connect(horizontalScrollBar(), &QScrollBar::valueChanged, this, &Editor::onScrollBarValueChanged); connect(verticalScrollBar(), &QScrollBar::valueChanged, @@ -1909,6 +1910,17 @@ void Editor::onTooltipTimer() s = expression.join(""); // information during coding } break; + case TipType::Keyword: + if (syntaxer() && + (syntaxer()->language() == QSynedit::ProgrammingLanguage::Assembly + || syntaxer()->language() == QSynedit::ProgrammingLanguage::ATTAssembly) + ) { + if (!mCompletionPopup->isVisible() + && !mHeaderCompletionPopup->isVisible()) { + s = wordAtRowCol(p); + } + } + break; case TipType::Selection: s = selText(); // when a selection is available, always only use that break; @@ -1938,7 +1950,6 @@ void Editor::onTooltipTimer() mHoverModifiedLine=line; } } - // Remove hint cancelHint(); mCurrentWord = s; @@ -1966,11 +1977,21 @@ void Editor::onTooltipTimer() if (pMainWindow->debugger()->executing() && (pSettings->editor().enableDebugTooltips())) { showDebugHint(s,p.line); - } else if (pSettings->editor().enableIdentifierToolTips()) { //if devEditor.ParserHints { + } else if (pSettings->editor().enableIdentifierToolTips()) { hint = getParserHint(expression, s, p.line); } } break; + case TipType::Keyword: + if (pSettings->editor().enableIdentifierToolTips()) { + if (syntaxer() && + (syntaxer()->language() == QSynedit::ProgrammingLanguage::Assembly + || syntaxer()->language() == QSynedit::ProgrammingLanguage::ATTAssembly) + ) { + hint = QSynedit::ASMSyntaxer::Instructions.value(s.toLower(),""); + } + } + break; case TipType::Error: if (pSettings->editor().enableIssueToolTips()) hint = getErrorHint(pError); @@ -3324,7 +3345,7 @@ void Editor::showCompletion(const QString& preWord,bool autoComplete, CodeComple else if (word.startsWith("%")) keywords = QSynedit::ASMSyntaxer::ATTRegisters; else - keywords = QSynedit::ASMSyntaxer::Instructions; + keywords = QSynedit::ASMSyntaxer::InstructionNames; } else { int pos = word.lastIndexOf("."); if (pos>=0) { @@ -3557,7 +3578,7 @@ void Editor::completionInsert(bool appendFunc) QSynedit::BufferCoord pStart = wordStart(); if (syntaxer() && syntaxer()->language()==QSynedit::ProgrammingLanguage::ATTAssembly) { if (statement->command.startsWith(".") - || statement->command.startsWith("#")) + || statement->command.startsWith("%")) pStart.ch--; } setCaretAndSelection(pStart,pStart,p); @@ -3828,8 +3849,11 @@ Editor::TipType Editor::getTipType(QPoint point, QSynedit::BufferCoord& pos) return TipType::Selection; } else if (mParser && mParser->isIncludeLine(document()->getLine(pos.line-1))) { return TipType::Preprocessor; - }else if (attr == syntaxer()->identifierAttribute()) + }else if (attr->tokenType() == QSynedit::TokenType::Identifier) { return TipType::Identifier; + } else if (attr->tokenType() == QSynedit::TokenType::Keyword) { + return TipType::Keyword; + } } } } @@ -3843,7 +3867,6 @@ void Editor::cancelHint() mHoverModifiedLine=-1; } - //MainForm.Debugger.OnEvalReady := nil; // disable editor hint QToolTip::hideText(); diff --git a/RedPandaIDE/editor.h b/RedPandaIDE/editor.h index c6501174..90dd92ef 100644 --- a/RedPandaIDE/editor.h +++ b/RedPandaIDE/editor.h @@ -104,6 +104,7 @@ public: Preprocessor, // cursor hovers above preprocessor line Identifier, // cursor hovers above identifier Selection, // cursor hovers above selection + Keyword, None, // mouseover not allowed Error //Cursor hovers above error line/item; }; diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 49208423..1966acb3 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -415,6 +415,17 @@ MainWindow::MainWindow(QWidget *parent) connect(ui->menuProject, &QMenu::aboutToShow, this, &MainWindow::updateProjectActions); + QString cpuArch = QSysInfo::currentCpuArchitecture(); + if (cpuArch == "i386") { + ui->actionIA_32_Assembly_Language_Reference_Manual->setVisible(true); + ui->actionx86_Assembly_Language_Reference_Manual->setVisible(false); + } else if (cpuArch=="x86_64") { + ui->actionIA_32_Assembly_Language_Reference_Manual->setVisible(true); + ui->actionx86_Assembly_Language_Reference_Manual->setVisible(true); + } else { + ui->actionIA_32_Assembly_Language_Reference_Manual->setVisible(false); + ui->actionx86_Assembly_Language_Reference_Manual->setVisible(false); + } ui->actionEGE_Manual->setVisible(pSettings->environment().language()=="zh_CN"); ui->actionDocument->setVisible(pSettings->environment().language()=="zh_CN"); @@ -9553,3 +9564,15 @@ void MainWindow::on_actionGNU_Assembler_Manual_triggered() { QDesktopServices::openUrl(QUrl("https://sourceware.org/binutils/docs/as/index.html")); } + +void MainWindow::on_actionx86_Assembly_Language_Reference_Manual_triggered() +{ + QDesktopServices::openUrl(QUrl("https://docs.oracle.com/cd/E19120-01/open.solaris/817-5477/index.html")); +} + + +void MainWindow::on_actionIA_32_Assembly_Language_Reference_Manual_triggered() +{ + QDesktopServices::openUrl(QUrl("https://docs.oracle.com/cd/E19455-01/806-3773/index.html")); +} + diff --git a/RedPandaIDE/mainwindow.h b/RedPandaIDE/mainwindow.h index 57ff13e9..6a088e09 100644 --- a/RedPandaIDE/mainwindow.h +++ b/RedPandaIDE/mainwindow.h @@ -793,6 +793,10 @@ private slots: void on_actionGNU_Assembler_Manual_triggered(); + void on_actionx86_Assembly_Language_Reference_Manual_triggered(); + + void on_actionIA_32_Assembly_Language_Reference_Manual_triggered(); + private: Ui::MainWindow *ui; bool mFullInitialized; diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 4affc7e2..b1978e4b 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -270,6 +270,8 @@ + + @@ -3319,6 +3321,16 @@ GNU Assembler Manual + + + x86 Assembly Language Reference Manual + + + + + IA-32 Assembly Language Reference Manual + + diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index 8c262502..5da8cc00 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -5040,6 +5040,14 @@ Please turn off your compiler set's "Strip executable (-s)" option, recompile and retry debug. + + x86 Assembly Language Reference Manual + + + + IA-32 Assembly Language Reference Manual + + NewClassDialog @@ -6771,7 +6779,7 @@ Prompt on replace - Perguntar ao substituir + Perguntar ao substituir Case Sensitive @@ -6850,7 +6858,7 @@ Prompt on replace - Perguntar ao substituir + Perguntar ao substituir Scope: diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index ba2c0d38..aa4e4587 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -1408,13 +1408,13 @@ Are you really want to continue? 失败 - - - - - - - + + + + + + + Error 错误 @@ -1424,7 +1424,7 @@ Are you really want to continue? - + Error Load File 载入文件错误 @@ -1453,44 +1453,44 @@ Are you really want to continue? 继续保存? - + Save As 另存为 - + File %1 already openned! 文件%1已经被打开! - + The text to be copied exceeds count limit! 要复制的内容超过了行数限制! - + The text to be copied exceeds character limit! 要复制的内容超过了字符数限制! - + The text to be cut exceeds count limit! 要剪切的内容超过了行数限制! - + The text to be cut exceeds character limit! 要剪切的内容超过了字符数限制! - + Print Document 打印文档 - - - + + + Ctrl+click for more info Ctrl+单击以获取更多信息 @@ -1499,27 +1499,27 @@ Are you really want to continue? 未找到符号'%1'! - + astyle not found 找不到astyle程序 - + Can't find astyle in "%1". 找不到astyle程序"%1". - + Break point condition 断点条件 - + Enter the condition of the breakpoint: 输入当前断点的生效条件: - + Readonly 只读 @@ -4200,18 +4200,18 @@ Are you really want to continue? MainWindow - + Red Panda C++ 小熊猫C++ - - - - - - - + + + + + + + Issues 编译器 @@ -4230,8 +4230,8 @@ Are you really want to continue? 工具 - - + + Run 运行 @@ -4242,26 +4242,26 @@ Are you really want to continue? - - + + Project 项目 - - + + Watch 监视 - - + + Structure 结构 - - + + Files 文件 @@ -4270,69 +4270,69 @@ Are you really want to continue? 资源 - - - - - + + + + + Debug 调试 - + Evaluate: 求值 - - + + Debug Console 调试主控台 - + Call Stack 调用栈 - + Breakpoints 断点 - + Locals 局部变量 - - + + Search 查找 - + History: 历史: - + Search Again 重新查找 - + Replace with: 替换为: - + Replace 替换 - + Close 关闭 @@ -4343,7 +4343,7 @@ Are you really want to continue? - + Code 代码 @@ -4366,71 +4366,71 @@ Are you really want to continue? 新建 - + Ctrl+N Ctrl+N - + Open... 打开... - + Ctrl+O Ctrl+O - + Save 保存 - + Ctrl+S Ctrl+S - + Save As... 另存为... - + Save As 另存为 - + Save All 全部保存 - + Ctrl+Shift+S Ctrl+Shift+S - + Options 选项 - - - + + + Compile 编译 - - + + Tools Output 工具输出 - - + + Choose Input File 选择输入文件 @@ -4439,148 +4439,148 @@ Are you really want to continue? ... - + Tool Panels 工具面板 - + Git Git - + Selection 选择 - + F9 F9 - + F10 F10 - + Undo 恢复 - + Ctrl+Z Ctrl+Z - + Redo 重做 - + Ctrl+Y Ctrl+Y - + Cut 剪切 - + Ctrl+X Ctrl+X - - - - + + + + Copy 复制 - + Ctrl+C Ctrl+C - - + + Paste 粘贴 - + Ctrl+V Ctrl+V - - - + + + Select All 选择全部 - + Ctrl+A Ctrl+A - + Indent 缩进 - + UnIndent 取消缩进 - + Toggle Comment 切换注释 - + Ctrl+/ Ctrl+/ - + Collapse All 全部收起 - + Uncollapse All 全部展开 - + Encode in ANSI 使用ANSI编码 - + Encode in UTF-8 使用UTF-8编码 - + Auto Detect 自动检测 - + Convert to ANSI 转换为ANSI编码 - + Convert to UTF-8 转换为UTF-8编码 @@ -4593,178 +4593,178 @@ Are you really want to continue? F11 - - + + Rebuild All 全部重编译 - + F12 F12 - + Stop Execution 停止执行 - + F6 F6 - + F5 F5 - + Step Over 单步跳过 - + F7 F7 - + Step Into 单步进入 - - - + + + Problem Set 试题集 - - - - + + + + New Problem Set 新建试题集 - - - + + + Add Problem 添加试题 - - - + + + Remove Problem 删除试题 - - - - + + + + Save Problem Set 保存试题集 - - - - + + + + Load Problem Set 载入试题集 - + Memory 内存 - + Address Expression: Address: 地址表达式: - + Cancel 取消 - - + + TODO TODO - - + + Bookmark 书签 - - - + + + Problem 试题 - - + + Add Probem Case 添加试题案例 - - - + + + Remove Problem Case Remove Problem Set 删除试题集 - - - + + + Open Anwser Source File 打开答案源代码文件 - - - + + + Run All Cases Run Current Case 运行所有案例 - - + + Problem Cases Validation Options 测试案例验证选项 - + %v/%m %v/%m - + Output 输出 - + Input 输入 - + Expected 期望输出 @@ -4774,12 +4774,12 @@ Are you really want to continue? 帮助 - + Refactor 重构 - + View 视图 @@ -4788,499 +4788,509 @@ Are you really want to continue? 工具窗口 - + Main 主工具栏 - + Compiler Set 编译器配置集 - + Explorer 管理器 - - - + + + Import FPS Problem Set 导入FPS试题集 - - - + + + Export FPS Problem Set 导出FPS试题集 - + Messages 消息 - + Open file in editors 在编辑器中打开文件 - + Choose Expected Output File 选择期望输出文件 - + Ignore Spaces 忽略空格 - + New C/C++ File 新建C/C++文件 - + New Source File 新建源代码文件 - + Tab Tab - + Shift+Tab Shift+Tab - + F8 F8 - + Step Out 单步跳出 - + Ctrl+F8 Ctrl+F8 - + Run To Cursor 执行到光标处 - + Ctrl+F5 Ctrl+F5 - + Continue 继续执行 - + F4 F4 - + Add Watch... 添加监视 - + View CPU Window... 打开CPU信息窗口... - + Exit 退出 - + Find... 查找... - + Ctrl+F Ctrl+F - + Find in Files... 在文件中查找... - + Ctrl+Shift+F Ctrl+Shift+F - + Replace... 替换 - + Ctrl+R Ctrl+R - + Find Next 查找下一个 - + F3 F3 - + Find Previous 查找前一个 - + Shift+F3 Shift+F3 - + Remove Watch 删除监视值 - + Remove All Watches Remove All 删除全部监视值 - + Modify Watch... 修改监视值 - + Reformat Code 对代码重新排版 - + Ctrl+Shift+A Ctrl+Shift+A - + Go back 前一次编辑位置 - + Ctrl+Alt+Left Ctrl+Alt+Left - + Forward 后一次编辑位置 - + Ctrl+Alt+Right Ctrl+Alt+Right - + Ctrl+W Ctrl+W - + Close All 全部关闭 - + Ctrl+Shift+W Ctrl+Shift+W - + Maximize Editor 最大化编辑器 - + Ctrl+F11 Ctrl+F11 - + Next 下一窗口 - + Ctrl+Tab Ctrl+Tab - + Previous 前一窗口 - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Toggle breakpoint 切换断点 - + Ctrl+F4 Ctrl+F4 - - + + Clear all breakpoints 删除所有断点 - + Breakpoint property... 设置断点条件... - + Goto Declaration 跳转到声明处 - + Ctrl+Shift+G Ctrl+Shift+G - + Goto Definition 跳转到定义处 - + Ctrl+G Ctrl+G - + Find references 查找符号的引用 - + Open containing folder 打开所在的文件夹 - + Ctrl+B Ctrl+B - + Open a terminal here 打开命令行窗口 - + File Properties... 文件属性... - + Close Project 关闭项目 - + Project options 项目属性 - + New Project... 新建项目... - - + + New Project File 新建项目文件 - + F1 F1 - + New GAS File 新建GNU汇编文件 - + GNU Assembler Manual GNU汇编器手册 - + + x86 Assembly Language Reference Manual + X86汇编语言参考手册 + + + + IA-32 Assembly Language Reference Manual + IA32汇编语言参考手册 + + + Move Selection Up 向上移动选中的行 - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selection Down 向下移动选中的行 - + Ctrl+Shift+Down Ctrl+Shift+Down - + Convert to UTF-8 BOM 转换为UTF-8 BOM编码 - + Encode in UTF-8 BOM 使用UTF-8 BOM编码 - + Compiler Options... 编译器选项... - + Toggle Explorer Panel 切换管理器面板 - + Ctrl+F9 Ctrl+F9 - + Toggle Messages Panel 切换消息面板 - + Ctrl+F10 Ctrl+F10 - + Raylib Manual Raylib教程 - + Select Word 选中当前单词 - + Go to Line... 跳转到行... - + New Template... 新建模板... - + New Template from Project 从项目创建模板 - + Goto block start 跳转到代码段开始 - + Ctrl+Alt+Up Ctrl+Alt+Up - + Goto block end 跳转到代码段结束 - + Ctrl+Alt+Down Ctrl+Alt+Down - + Switch header/source 切换头文件/源文件 - + Switch Header/Source 切换头文件/源文件 - + Generate Assembly 生成汇编 - + Trim trailing spaces 删除行尾空格 - + Toggle Readonly 切换只读模式 - + Submit Issues 反馈与建议 - + Document 使用说明 @@ -5289,199 +5299,199 @@ Are you really want to continue? 保存为模板... - + New File 新建文件 - + Add to project... 添加到项目... - + Remove from project 从项目删除 - + View Makefile 查看Makefile - + Clean 清理构建文件 - + Open Folder in Explorer 在浏览器中打开 - + Open In Terminal 在终端中打开 - + About 关于 - - + + Rename Symbol 重命名符号 - + Shift+F6 Shift+F6 - + Print... 打印... - + Ctrl+P Ctrl+P - - + + Export As RTF 导出为RTF - - + + Export As HTML 导出为HTML - + Move To Other View 移动到其他视图 - + Ctrl+M Ctrl+M - - + + C++ Reference C++参考手册 - + C Reference C参考手册 - + Show Tool Panels 显示全部工具面板 - + Create Git Repository Create Repository 创建Git仓库 - + Commit 提交(Commit) - + Revert 撤销(Revert) - + Reset 回滚(Reset) - + Add Files 添加文件 - + Restore 还原(Restore) - + Website 官方网站 - + Branch/Switch 分支切换(Switch) - + Merge 合并(Merge) - - + + Show Log Log 显示日志(Log) - + Remotes... 远程仓库... - + Fetch 取回(Fetch) - + Pull 拉取(Pull) - + Push 推送(Push) - + Hide Non Support Files 隐藏不支持的文件 - + Toggle Block Comment 切换块注释 - + Alt+Shift+A Alt+Shift+A - + Match Bracket 匹配当前括号 - + Ctrl+] Ctrl+] @@ -5490,50 +5500,50 @@ Are you really want to continue? 工具窗口栏 - + Status Bar 状态栏 - + Ctrl+Backspace Ctrl+Backspace - + Interrupt 中断 - - + + Delete To Word Begin 删除到单词开头 - + Ctrl+Shift+B Ctrl+Shift+B - + Delete to Word End 删除到单词结尾 - + Ctrl+Shift+E Ctrl+Shift+E - + New Class... Add Class... 新建类... - - + + New Header... New Header 新建头文件... @@ -5543,47 +5553,47 @@ Are you really want to continue? 插入行 - + Delete Line 删除当前行 - + Ctrl+D Ctrl+D - + Duplicate Line 复制当前行 - + Ctrl+E Ctrl+E - + Delete Word 删除当前单词 - + Ctrl+Shift+D Ctrl+Shift+D - + Delete to EOL 删除到行尾 - + Ctrl+Del Ctrl+Del - + Delete to BOL 删除到行首 @@ -5592,27 +5602,27 @@ Are you really want to continue? C/C++参考 - + EGE Manual EGE图形库手册 - + Add Bookmark 添加书签 - + Remove Bookmark 删除书签 - + Modify Bookmark Description 修改书签说明 - + Locate in Files View 在文件视图中定位 @@ -5621,12 +5631,12 @@ Are you really want to continue? 打开文件夹 - + Running Parameters... 运行参数... - + File Encoding 文件编码 @@ -5636,32 +5646,32 @@ Are you really want to continue? 文件历史 - - - - - - + + + + + + Debugging 正在调试 - - - - + + + + Running 正在运行 - - - - - - + + + + + + Compiling 正在编译 @@ -5675,17 +5685,17 @@ Are you really want to continue? 行: %1 列: %2 已选择 :%3 总行数: %4 总长度: %5 - + Read Only 只读 - + Insert 插入 - + Overwrite 覆写 @@ -5702,7 +5712,7 @@ Are you really want to continue? 确认 - + Source file is not compiled. 源文件尚未编译。 @@ -5719,44 +5729,44 @@ Are you really want to continue? 重新编译? - - - - + + + + Wrong Compiler Settings 错误的编译器设置 - - - - + + + + Compiler is set not to generate executable. 编译器被设置为不生成可执行文件。 - - + + We need the executabe to run problem case. 我们需要可执行文件来运行试题案例。 - + No compiler set 无编译器设置 - + No compiler set is configured. 没有配置编译器设置。 - + Can't start debugging. 无法启动调试器 - + Enable debugging 启用调试参数 @@ -5773,33 +5783,33 @@ Are you really want to continue? 项目尚未构建。是否构建? - + Host applcation missing 宿主程序不存在 - + DLL project needs a host application to run. 动态链接库(DLL)需要一个宿主程序来运行。 - + But it's missing. 但它不存在。 - + Host application not exists 宿主程序不存在 - + Host application file '%1' doesn't exist. 宿主程序'%1'不存在。 - - + + Please correct this before start debugging 请在调试前改正设置。 @@ -5808,8 +5818,8 @@ Are you really want to continue? 重新编译? - - + + Save last open info error 保存上次打开信息失败 @@ -5818,70 +5828,70 @@ Are you really want to continue? 无法删除旧上次打开信息文件'%1' - + Can't save last open info file '%1' 无法保存上次打开信息文件'%1' - - + + Load last open info error 载入上次打开信息失败 - - + + Can't load last open info file '%1' 无法载入上次打开信息文件'%1' - + Open Source File 打开源代码文件 - - + + Batch Set Cases 批量设置案例 - + Show detail debug logs 显示详细调试器日志 - + Copy all 全部复制 - + Go to Line 跳转到行 - + Line - + Template Exists 模板已存在 - + Template %1 already exists. Do you want to overwrite? 模板%1已存在。是否覆盖? - - - - - - + + + + + + Clear 清除 @@ -5897,7 +5907,7 @@ Are you really want to continue? - + Problem Set %1 试题集%1 @@ -5926,56 +5936,56 @@ Are you really want to continue? 项目已经被修改过,是否需要重新构建? - + Auto Save Error 自动保存出错 - + Auto save "%1" to "%2" failed:%3 自动保存"%1"到"%2"失败:%3 - + Properties... 试题属性... - + Set Problem Set Name 设置试题集名称 - + Problem Set Name: 试题集名称: - + Remove 删除 - + Remove All Bookmarks 删除全部书签 - + Modify Description 修改描述 - - - + + + Bookmark Description 书签描述 - - - + + + Description: 描述: @@ -5984,65 +5994,65 @@ Are you really want to continue? 在调试主控台中显示调试器输出 - + Remove this search 清除这次搜索 - + Clear all searches 删除所有搜索 - + Breakpoint condition... 断点条件... - + Break point condition 断点条件 - + Enter the condition of the breakpoint: 输入当前断点的生效条件: - + Remove All Breakpoints Remove all breakpoints 删除所有断点 - + Remove Breakpoint 删除当前断点 - + Rename File 重命名文件 - - + + Add Folder 添加文件夹 - - + + New folder 新文件夹 - + Folder name: 文件夹: - + Rename Folder 重命名 @@ -6055,207 +6065,207 @@ Are you really want to continue? 要现在去修改设置吗? - + Rename Problem Set 修改试题集名称 - + Can't open last open information file '%1' for write! 无法写入配置文件'%1'。 - + Rename Problem 修改试题名称 - + Line: %1 Col: %2 Lines: %3 行: %1 列: %2 总行数: %3 - + Correct compiler setting 改正编译器设置 - - + + You are using a Debug compiler set with wrong compile/link settings: 您使用的Debug编译器配置集中存在错误的“编译/链接”选项设置: - - + + - "Generate debug info (-g3)" should be turned on - 应勾选"生成调试信息(-g3)"选项 - + - "Strip executable (-s)" should be turned off - 应取消"剥除附加信息(-s)"选项 - - + + Do you want to correct it now? 是否现在去改正? - - + + Can't Debug 无法调试 - - + + Your compiler set's "Strip executable (-s)" options is turnned on 您的编译器配置集中的“剥除附加信息(-s)”选项被勾选了。 - - + + Please correct it, recompile and retry debug. 请取消该设置,重新编译然后重新启动调试。 - + Goto Url 跳转到试题网址 - + Add Problem Case 添加试题案例 - + Run Current Case 运行当前案例 - + Remove Folder 删除文件夹 - + Switch to normal view 切换为普通视图 - + Switch to custom view 切换为自定义视图 - + Sort By Type 按类型排序 - + Sort alphabetically 按名称排序 - + Show inherited members 显示继承的成员 - + Goto declaration 跳转到声明处 - + Goto definition 跳转到定义处 - + In current file 仅当前文件 - + In current project 整个项目 - - + + New Folder 新建文件夹 - + Rename 重命名 - - - - + + + + Delete 删除 - + Open in Editor 在编辑器中打开 - + Open in External Program 使用外部程序打开 - + Open in Terminal 在终端中打开 - + Open in Windows Explorer 在Windows浏览器中打开 - + Character sets 字符集 - + Convert to %1 转换为%1编码 - + Newline 换行符 - + %1 files autosaved 已自动保存%1个文件 - + Set answer to... 设置答案源代码... - + select other file... 选择其他文件... - + Select Answer Source File 选择答案源代码文件 @@ -6264,17 +6274,17 @@ Are you really want to continue? 中止 - + FPS Problem Set Files (*.fps;*.xml) FPS试题集文件(*.fps;*.xml) - + FPS Problem Set Files (*.fps) FPS试题集文件(*.fps) - + Export Error 导出时出错 @@ -6284,7 +6294,7 @@ Are you really want to continue? C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + New Folder %1 新建文件夹%1 @@ -6297,70 +6307,70 @@ Are you really want to continue? 无标题%1 - + Do you really want to delete %1? 你真的要删除%1吗? - + Do you really want to delete %1 files? 你真的要删除%1个文件吗? - + Save project 保存项目 - + The project '%1' has modifications. 项目'%1'有改动。 - - + + Do you want to save it? 需要保存吗? - - + + File Changed 文件已发生变化 - - + + New Project File? 新建项目文件? - - + + Do you want to add the new file to the project? 您是否要将新建的文件加入项目? - - - - + + + + Save Error 保存失败 - + Change Project Compiler Set 改变项目编译器配置集 - + Change the project's compiler set will lose all custom compiler set options. 改变项目的编译器配置集会导致所有的自定义编译器选项被重置。 - - + + Do you really want to do that? 你真的想要那么做吗? @@ -6369,12 +6379,12 @@ Are you really want to continue? 批量设置案例 - + Choose input files 选择输入数据文件 - + Input data files (*.in) 输入数据文件 (*.in) @@ -6383,78 +6393,78 @@ Are you really want to continue? 无标题%1 - + Modify Watch 修改监视表达式 - + Watch Expression 监视表达式 - + Do you really want to clear all breakpoints in this file? 您真的要清除该文件的所有断点吗? - + New project 新建项目 - + Close %1 and start new project? 关闭'%1'以打开新项目? - + Folder not exist 文件夹不存在 - + Folder '%1' doesn't exist. Create it now? 文件夹'%1'不存在。是否创建? - + Can't create folder 无法创建文件夹 - + Failed to create folder '%1'. 创建文件夹'%1'失败。 - + Save new project as - + Folder %1 is not empty. 文件夹%1不是空的。 - + Do you really want to delete it? 你真的要删除它吗? - + Change working folder 改变工作文件夹 - + File '%1' is not in the current working folder. File '%1' is not in the current working folder 文件'%1'不在当前工作文件夹中。 - + Do you want to change working folder to '%1'? 是否将工作文件夹改设为'%1'? @@ -6463,28 +6473,28 @@ Are you really want to continue? 正在删除试题... - + Can't Commit 无法提交 - + Git needs user info to commit. Git需要用信息进行提交。 - + Choose Input Data File 选择输入数据文件 - - + + All files (*.*) 所有文件 (*.*) - + Choose Expected Output Data File Choose Expected Input Data File 选择期望输出文件 @@ -6494,61 +6504,61 @@ Are you really want to continue? 第%1行 - - - + + + Choose Working Folder 选择工作文件夹 - - + + Header Exists 头文件已存在 - - + + Header file "%1" already exists! 头文件"%1"已存在! - + Source Exists 源文件已存在! - + Source file "%1" already exists! 源文件"%1"已存在! - + Can't commit! 无法提交! - + The following files are in conflicting: 下列文件处于冲突状态,请解决后重新添加和提交: - + Commit Message 提交信息 - + Commit Message: 提交信息: - + Commit Failed 提交失败 - + Commit message shouldn't be empty! 提交信息不能为空! @@ -6557,22 +6567,22 @@ Are you really want to continue? 小熊猫Dev-C++项目文件 (*.dev) - + New project fail 新建项目失败 - + Can't assign project template 无法使用模板创建项目 - + Remove file 删除文件 - + Remove the file from disk? 同时从硬盘上删除文件? @@ -6581,27 +6591,27 @@ Are you really want to continue? 无标题 - + New Project File Name 新的项目文件名 - + File Name: 文件名: - + File Already Exists! 文件已存在! - + File '%1' already exists! 文件'%1'已经存在! - + Add to project 添加到项目 @@ -6618,27 +6628,27 @@ Are you really want to continue? 请在工具栏中选择Debug编译器配置集,或者在“编译器配置集”设置的“编译/链接选项”页中<b>启用</b>“生成调试信息(-g3)”、<b>禁用</b>“剥除附件信息(-3)”。 - + C/C++ Source Files (*.c *.cpp *.cc *.cxx) C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + This operation will remove all cases for the current problem. 本操作会删除此试题的所有案例。 - + Debug Failed 调试失败 - + The executable doesn't have symbol table, and can't be debugged. 可执行文件中没有符号表信息,无法调试。 - + Please turn off your compiler set's "Strip executable (-s)" option, recompile and retry debug. 请在选项对话框的编译器配置集页中取消“剥除附加信息(-s)”选项,重新编译后再调试。 @@ -6659,88 +6669,88 @@ Are you really want to continue? 您也可以删除所有断点,打开“CPU信息窗口”,然后调试汇编代码。 - + Failed to generate the executable. 未能生成可执行文件。 - + Please check detail info in "Tools Output" panel. 请查看“工具输出”面板中的详细信息。 - + Red Panda C++ project file (*.dev) 小熊猫C++项目文件(*.dev) - + Rename Error 重命名出错 - + Symbol '%1' is defined in system header. 符号'%1'在系统头文件中定义,无法修改。 - + New Name 新名称 - - - - + + + + Replace Error 替换出错 - + Can't open file '%1' for replace! 无法打开文件'%1'进行替换! - + Contents has changed since last search! 内容和上次查找时不一致。 - + Rich Text Format Files (*.rtf) RTF格式文件 (*.rtf) - + HTML Files (*.html) HTML文件 (*.html) - + The current problem set is not empty. 当前的试题集不是空的。 - + Problem %1 试题%1 - - + + Problem Set Files (*.pbs) 试题集文件 (*.pbs) - - + + Load Error 载入失败 - - + + Problem Case %1 试题案例%1 @@ -6751,14 +6761,14 @@ Are you really want to continue? - - - - - - - - + + + + + + + + Error 错误 @@ -6768,25 +6778,25 @@ Are you really want to continue? 项目历史 - + Load Theme Error 载入主题失败 - - + + Clear History 清除历史 - - + + The generated executable doesn't have symbol table, and can't be debugged. 编译生成的可执行文件中没有符号表,无法被调试。 - - + + Version Control 版本控制 @@ -6795,80 +6805,80 @@ Are you really want to continue? 请在工具栏中选用Debug编译器配置集,或者在选项对话框的编辑器配置集页中勾选“生成调试信息(-g3)"选项。 - + File '%1' was changed. 磁盘文件'%1'已被修改。 - + Reload its content from disk? 是否重新读取它的内容? - + File '%1' was removed. 磁盘文件'%1'已被删除。 - + Keep it open? 是否保持它在小熊猫C++中打开的编辑窗口? - + Open 打开 - - + + Compile Failed 编译失败 - + Run Failed 运行失败 - - - - + + + + Confirm Convertion 确认转换 - - - - + + + + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? 当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗? - + New Watch Expression 新监视表达式 - + Enter Watch Expression (it is recommended to use 'this->' for class members): 输入监视表达式 - + Parsing file %1 of %2: "%3" (%1/%2)正在解析文件"%3" - - + + Done parsing %1 files in %2 seconds 完成%1个文件的解析,用时%2秒 - + (%1 files per second) (每秒%1个文件) @@ -8153,13 +8163,13 @@ Are you really want to continue? QObject - + Save 保存 - + Save changes to %1? 将修改保存到"%1"? @@ -9221,7 +9231,7 @@ Are you really want to continue? ReplaceDialog - + Replace 替换 @@ -9271,47 +9281,46 @@ Are you really want to continue? 选项: - + Whole words only 整个单词 - + Wrap Around 循环查找 - + Regular Expression 正则表达式 - Prompt on replace - 替换时提示 + 替换时提示 - + Case Sensitive 区分大小写 - + Find Previous 查找前一个 - + Find Next 查找下一个 - + Replace All 全部替换 - + Close 关闭 @@ -9365,29 +9374,28 @@ Are you really want to continue? 选项: - + Case Sensitive 区分大小写 - + Whole words only 整个单词 - + Wrap Around 循环查找 - + Regular Expression 正则表达式 - Prompt on replace - 替换时提示 + 替换时提示 @@ -9420,22 +9428,22 @@ Are you really want to continue? 整个范围 - + Close after search 找到后关闭对话框 - + Find Previous 查找前一个 - + Find Next 查找下一个 - + Close 关闭 @@ -9879,18 +9887,18 @@ Are you really want to continue? 性能 - - - + + + Compiler Set 编译器配置集 - - - + + + Compiler @@ -9902,7 +9910,7 @@ Are you really want to continue? 自动链接 - + @@ -9979,15 +9987,15 @@ Are you really want to continue? 杂项 - - + + Program Runner 程序运行 - + Problem Set 试题集 diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index 73488994..43e07837 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -4793,6 +4793,14 @@ Please turn off your compiler set's "Strip executable (-s)" option, recompile and retry debug. + + x86 Assembly Language Reference Manual + + + + IA-32 Assembly Language Reference Manual + + NewClassDialog @@ -6350,10 +6358,6 @@ Regular Expression - - Prompt on replace - - Case Sensitive @@ -6421,10 +6425,6 @@ Wrap Around - - Prompt on replace - - Scope: diff --git a/RedPandaIDE/widgets/cpudialog.ui b/RedPandaIDE/widgets/cpudialog.ui index c4e2481b..f760cee6 100644 --- a/RedPandaIDE/widgets/cpudialog.ui +++ b/RedPandaIDE/widgets/cpudialog.ui @@ -80,7 +80,7 @@ - + 3 @@ -230,9 +230,9 @@ - QSynedit::QSynEdit + Editor QFrame -
qsynedit/qsynedit.h
+
editor.h
1
diff --git a/libs/qsynedit/qsynedit.pro b/libs/qsynedit/qsynedit.pro index 5af6d855..dff82950 100644 --- a/libs/qsynedit/qsynedit.pro +++ b/libs/qsynedit/qsynedit.pro @@ -67,3 +67,6 @@ HEADERS += \ qsynedit/syntaxer/syntaxer.h INCLUDEPATH += ../redpanda_qt_utils + +TRANSLATIONS += \ + qsynedit_zh_CN.ts diff --git a/libs/qsynedit/qsynedit/painter.cpp b/libs/qsynedit/qsynedit/painter.cpp index 9d13c66e..a0360ee8 100644 --- a/libs/qsynedit/qsynedit/painter.cpp +++ b/libs/qsynedit/qsynedit/painter.cpp @@ -963,8 +963,8 @@ void QSynEditPainter::paintLines() sToken = edit->mSyntaxer->getToken(); // Maybe should also test whether GetTokenPos changed... if (sToken.isEmpty()) { - qDebug()<charToColumn(sLine,edit->mHighlighter->getTokenPos()+1)-1; diff --git a/libs/qsynedit/qsynedit/qsynedit.cpp b/libs/qsynedit/qsynedit/qsynedit.cpp index 89e1e9d3..254b13c9 100644 --- a/libs/qsynedit/qsynedit/qsynedit.cpp +++ b/libs/qsynedit/qsynedit/qsynedit.cpp @@ -5278,33 +5278,11 @@ int QSynEdit::searchReplace(const QString &sSearch, const QString &sReplace, Sea void QSynEdit::doLinesDeleted(int firstLine, int count) { emit linesDeleted(firstLine, count); -// // gutter marks -// for i := 0 to Marks.Count - 1 do begin -// if Marks[i].Line >= FirstLine + Count then -// Marks[i].Line := Marks[i].Line - Count -// else if Marks[i].Line > FirstLine then -// Marks[i].Line := FirstLine; -// end; -// // plugins -// if fPlugins <> nil then begin -// for i := 0 to fPlugins.Count - 1 do -// TSynEditPlugin(fPlugins[i]).LinesDeleted(FirstLine, Count); - // end; } void QSynEdit::doLinesInserted(int firstLine, int count) { emit linesInserted(firstLine, count); -// // gutter marks -// for i := 0 to Marks.Count - 1 do begin -// if Marks[i].Line >= FirstLine then -// Marks[i].Line := Marks[i].Line + Count; -// end; -// // plugins -// if fPlugins <> nil then begin -// for i := 0 to fPlugins.Count - 1 do -// TSynEditPlugin(fPlugins[i]).LinesInserted(FirstLine, Count); -// end; } void QSynEdit::properSetLine(int ALine, const QString &ALineText, bool notify) diff --git a/libs/qsynedit/qsynedit/syntaxer/asm.cpp b/libs/qsynedit/qsynedit/syntaxer/asm.cpp index 76a1cf1e..f15f0eb8 100644 --- a/libs/qsynedit/qsynedit/syntaxer/asm.cpp +++ b/libs/qsynedit/qsynedit/syntaxer/asm.cpp @@ -20,6 +20,9 @@ namespace QSynedit { +QSet ASMSyntaxer::InstructionNames; +QMap ASMSyntaxer::Instructions; + const QSet ASMSyntaxer::Registers { "ah","al","ax","eax", "bh","bl","bx","ebx", @@ -78,120 +81,6 @@ const QSet ASMSyntaxer::ATTRegisters { "%xmm12","%xmm13","%xmm14","%xmm15", }; -const QSet ASMSyntaxer::Instructions { - "aaa","aad","aam","aas","adc","adcx","add", - "addb","addw","addl","addq", "addpd","addps", - "addsd","addss","addsubpd","addsubps","adox","aesdec","aesdec128kl","aesdec256kl","aesdeclast","aesdecwide128kl", - "aesdecwide256kl","aesenc","aesenc128kl","aesenc256kl","aesenclast","aesencwide128kl","aesencwide256kl","aesimc","aeskeygenassist","and", - "andn","andnpd","andnps","andpd","andps","andb","andw","andl","andq","arpl","bextr","blendpd","blendps","blendvpd", - "blendvps","blsi","blsmsk","blsr","bndcl","bndcn","bndcu","bndldx","bndmk","bndmov", - "bndstx","bound","bsf","bsr","bswap","bt","btc","btr","bts","bzhi", - "call","cbw","cdq","cdqe","clac","clc","cld","cldemote","clflush","clflushopt", - "cli","clrssbsy","clts","clwb","cmc","cmova","cmovae","cmovb","cmovbe","cmovc", - "cmove","cmovg","cmovge","cmovl","cmovle","cmovna","cmovnae","cmovnb","cmovnbe","cmovnc", - "cmovne","cmovng","cmovnge","cmovnl","cmovnle","cmovno","cmovnp","cmovns","cmovnz","cmovo", - "cmovp","cmovpe","cmovpo","cmovs","cmovz","cmp","cmpb","cmpw","cmpl","cmpq", - "cmppd","cmpps","cmps","cmpsb", "cmpsd","cmpsq","cmpss","cmpsw","cmpxchg","cmpxchg16b","cmpxchg8b","comisd","comiss","cpuid", - "cqo","crc32","cvtdq2pd","cvtdq2ps","cvtpd2dq","cvtpd2pi","cvtpd2ps","cvtpi2pd","cvtpi2ps","cvtps2dq", - "cvtps2pd","cvtps2pi","cvtsd2si","cvtsd2ss","cvtsi2sd","cvtsi2ss","cvtss2sd","cvtss2si","cvttpd2dq","cvttpd2pi", - "cvttps2dq","cvttps2pi","cvttsd2si","cvttss2si","cwd","cwde","daa","das","dec","div", - "divpd","divps","divsd","divss","dppd","dpps","emms","encodekey128","encodekey256","endbr32", - "endbr64","enter","extractps","f2xm1","fabs","fadd","faddp","fbld","fbstp","fchs", - "fclex","fcmovb","fcmove","fcmovbe","fcmovu","fcmovnb","fcmovne","fcmovnbe","fcmovnu","fcom", - "fcomi","fcomip","fcomp","fcompp","fcos","fdecstp","fdiv","fdivp","fdivr","fdivrp", - "ffree","fiadd","ficom","ficomp","fidiv","fidivr","fild","fimul","fincstp","finit", - "fist","fistp","fisttp","fisub","fisubr","fld","fld1","fldcw","fldenv","fldl2e", - "fldl2t","fldlg2","fldln2","fldpi","fldz","fmul","fmulp","fnclex","fninit","fnop", - "fnsave","fnstcw","fnstenv","fnstsw","fpatan","fprem","fprem1","fptan","frndint","frstor", - "fsave","fscale","fsin","fsincos","fsqrt","fst","fstcw","fstenv","fstp","fstsw", - "fsub","fsubp","fsubr","fsubrp","ftst","fucom","fucomi","fucomip","fucomp","fucompp", - "fwait","fxam","fxch","fxrstor","fxsave","fxtract","fyl2x","fyl2xp1","gf2p8affineinvqb","gf2p8affineqb", - "gf2p8mulb","haddpd","haddps","hlt","hreset","hsubpd","hsubps","idiv","idivb","idivw","idivl","idivq","imul", - "imulb","imulw","imull","imulq","in", "inc","incsspd","incsspq","ins","insb","insd","insertps","insw","int n","int1", - "int3","into","invd","invlpg","invpcid","iret","iretd","iretq","jmp","ja", - "jae","jb","jbe","jc","jcxz","je","jecxz","jg","jge","jl", - "jle","jna","jnae","jnb","jnbe","jnc","jne","jng","jnge","jnl", - "jnle","jno","jnp","jns","jnz","jo","jp","jpe","jpo","jrcxz", - "js","jz","kaddb","kaddd","kaddq","kaddw","kandb","kandd","kandnb","kandnd", - "kandnq","kandnw","kandq","kandw","kmovb","kmovd","kmovq","kmovw","knotb","knotd", - "knotq","knotw","korb","kord","korq","kortestb","kortestd","kortestq","kortestw","korw", - "kshiftlb","kshiftld","kshiftlq","kshiftlw","kshiftrb","kshiftrd","kshiftrq","kshiftrw","ktestb","ktestd", - "ktestq","ktestw","kunpckbw","kunpckdq","kunpckwd","kxnorb","kxnord","kxnorq","kxnorw","kxorb", - "kxord","kxorq","kxorw","lahf","lar","lddqu","ldmxcsr","lds","lea","leaq","leave", - "les","lfence","lfs","lgdt","lgs","lidt","lldt","lmsw","loadiwkey","lock", - "lods","lodsb","lodsd","lodsq","lodsw","loop","loope","loopne","lsl","lss", - "ltr","lzcnt","maskmovdqu","maskmovq","maxpd","maxps","maxsd","maxss","mfence","minpd", - "minps","minsd","minss","monitor","mov","movapd","movaps","movbe","movd","movddup", - "movdir64b","movdiri","movdq2q","movdqa","movdqu","movhlps","movhpd","movhps","movlhps","movlpd", - "movlps","movmskpd","movmskps","movntdq","movntdqa","movnti","movntpd","movntps","movntq","movq", - "movq2dq","movs","movsb","movsd","movshdup","movsldup","movsq","movss","movsw","movsx", - "movsxd","movupd","movups","movzx", "movb","movs","movl", - "mpsadbw","mul","mulpd","mulps","mulsd","mulss", - "mulx","mwait","neg","nop","not","or","orb","orw","orl","orq","orpd","orps","out","outs", - "outsb","outsd","outsw","pabsb","pabsd","pabsq","pabsw","packssdw","packsswb","packusdw", - "packuswb","paddb","paddd","paddq","paddsb","paddsw","paddusb","paddusw","paddw","palignr", - "pand","pandn","pause","pavgb","pavgw","pblendvb","pblendw","pclmulqdq","pcmpeqb","pcmpeqd", - "pcmpeqq","pcmpeqw","pcmpestri","pcmpestrm","pcmpgtb","pcmpgtd","pcmpgtq","pcmpgtw","pcmpistri","pcmpistrm", - "pconfig","pdep","pext","pextrb","pextrd","pextrq","pextrw","phaddd","phaddsw","phaddw", - "phminposuw","phsubd","phsubsw","phsubw","pinsrb","pinsrd","pinsrq","pinsrw","pmaddubsw","pmaddwd", - "pmaxsb","pmaxsd","pmaxsq","pmaxsw","pmaxub","pmaxud","pmaxuq","pmaxuw","pminsb","pminsd", - "pminsq","pminsw","pminub","pminud","pminuq","pminuw","pmovmskb","pmovsx","pmovzx","pmuldq", - "pmulhrsw","pmulhuw","pmulhw","pmulld","pmullq","pmullw","pmuludq","pop","popa","popad", - "popcnt","popf","popfd","popfq","popq","por","prefetchw","prefetchh","psadbw","pshufb","pshufd", - "pshufhw","pshuflw","pshufw","psignb","psignd","psignw","pslld","pslldq","psllq","psllw", - "psrad","psraq","psraw","psrld","psrldq","psrlq","psrlw","psubb","psubd","psubq", - "psubsb","psubsw","psubusb","psubusw","psubw","ptest","ptwrite","punpckhbw","punpckhdq","punpckhqdq", - "punpckhwd","punpcklbw","punpckldq","punpcklqdq","punpcklwd","push","pusha","pushad","pushf","pushfd", - "pushfq","pushq","pxor","rcl","rcpps","rcpss","rcr","rdfsbase","rdgsbase","rdmsr","rdpid", - "rdpkru","rdpmc","rdrand","rdseed","rdsspd","rdsspq","rdtsc","rdtscp","rep","repe", - "repne","repnz","repz","ret","rol","ror","rorx","roundpd","roundps","roundsd", - "roundss","rsm","rsqrtps","rsqrtss","rstorssp","sahf","sal","salb","salw","sall","salq","sar","sarb","sarw","sarl","sarq","sarx","saveprevssp", - "sbb","scas","scasb","scasd","scasw","serialize","setssbsy","seta","setae","setb", - "setbe","setc","sete","setg","setge","setl","setle","setna","setnae","setnb", - "setnbe","setnc","setne","setng","setnge","setnl","setnle","setno","setnp","setns", - "setnz","seto","setp","setpe","setpo","sets","setz","sfence","sgdt","sha1msg1", - "sha1msg2","sha1nexte","sha1rnds4","sha256msg1","sha256msg2","sha256rnds2","shl","shld","shlx","shr", - "shrd","shrx","shufpd","shufps","sidt","sldt","smsw","sqrtpd","sqrtps","sqrtsd", - "sqrtss","stac","stc","std","sti","stmxcsr","stos","stosb","stosd","stosq", - "stosw","str","sub","subpd","subps","subsd","subss","swapgs","syscall","sysenter", - "sysexit","sysret","test","tpause","tzcnt","ucomisd","ucomiss","ud","umonitor","umwait", - "unpckhpd","unpckhps","unpcklpd","unpcklps","valignd","valignq","vblendmpd","vblendmps","vbroadcast","vcompresspd", - "vcompressps","vcompressw","vcvtne2ps2bf16","vcvtneps2bf16","vcvtpd2qq","vcvtpd2udq","vcvtpd2uqq","vcvtph2ps","vcvtps2ph","vcvtps2qq", - "vcvtps2udq","vcvtps2uqq","vcvtqq2pd","vcvtqq2ps","vcvtsd2usi","vcvtss2usi","vcvttpd2qq","vcvttpd2udq","vcvttpd2uqq","vcvttps2qq", - "vcvttps2udq","vcvttps2uqq","vcvttsd2usi","vcvttss2usi","vcvtudq2pd","vcvtudq2ps","vcvtuqq2pd","vcvtuqq2ps","vcvtusi2sd","vcvtusi2ss", - "vdbpsadbw","vdpbf16ps","verr","verw","vexpandpd","vexpandps","vextractf128","vextractf32x4","vextractf32x8","vextractf64x2", - "vextractf64x4","vextracti128","vextracti32x4","vextracti32x8","vextracti64x2","vextracti64x4","vfixupimmpd","vfixupimmps","vfixupimmsd","vfixupimmss", - "vfmadd132pd","vfmadd132ps","vfmadd132sd","vfmadd132ss","vfmadd213pd","vfmadd213ps","vfmadd213sd","vfmadd213ss","vfmadd231pd","vfmadd231ps", - "vfmadd231sd","vfmadd231ss","vfmaddsub132pd","vfmaddsub132ps","vfmaddsub213pd","vfmaddsub213ps","vfmaddsub231pd","vfmaddsub231ps","vfmsub132pd","vfmsub132ps", - "vfmsub132sd","vfmsub132ss","vfmsub213pd","vfmsub213ps","vfmsub213sd","vfmsub213ss","vfmsub231pd","vfmsub231ps","vfmsub231sd","vfmsub231ss", - "vfmsubadd132pd","vfmsubadd132ps","vfmsubadd213pd","vfmsubadd213ps","vfmsubadd231pd","vfmsubadd231ps","vfnmadd132pd","vfnmadd132ps","vfnmadd132sd","vfnmadd132ss", - "vfnmadd213pd","vfnmadd213ps","vfnmadd213sd","vfnmadd213ss","vfnmadd231pd","vfnmadd231ps","vfnmadd231sd","vfnmadd231ss","vfnmsub132pd","vfnmsub132ps", - "vfnmsub132sd","vfnmsub132ss","vfnmsub213pd","vfnmsub213ps","vfnmsub213sd","vfnmsub213ss","vfnmsub231pd","vfnmsub231ps","vfnmsub231sd","vfnmsub231ss", - "vfpclasspd","vfpclassps","vfpclasssd","vfpclassss","vgatherdpd","vgatherdps","vgatherqpd","vgatherqps","vgetexppd","vgetexpps", - "vgetexpsd","vgetexpss","vgetmantpd","vgetmantps","vgetmantsd","vgetmantss","vinsertf128","vinsertf32x4","vinsertf32x8","vinsertf64x2", - "vinsertf64x4","vinserti128","vinserti32x4","vinserti32x8","vinserti64x2","vinserti64x4","vmaskmov","vmovdqa32","vmovdqa64","vmovdqu16", - "vmovdqu32","vmovdqu64","vmovdqu8","vp2intersectd","vp2intersectq","vpblendd","vpblendmb","vpblendmd","vpblendmq","vpblendmw", - "vpbroadcast","vpbroadcastb","vpbroadcastd","vpbroadcastm","vpbroadcastq","vpbroadcastw","vpcmpb","vpcmpd","vpcmpq","vpcmpub", - "vpcmpud","vpcmpuq","vpcmpuw","vpcmpw","vpcompressb","vpcompressd","vpcompressq","vpconflictd","vpconflictq","vpdpbusd", - "vpdpbusds","vpdpwssd","vpdpwssds","vperm2f128","vperm2i128","vpermb","vpermd","vpermi2b","vpermi2d","vpermi2pd", - "vpermi2ps","vpermi2q","vpermi2w","vpermilpd","vpermilps","vpermpd","vpermps","vpermq","vpermt2b","vpermt2d", - "vpermt2pd","vpermt2ps","vpermt2q","vpermt2w","vpermw","vpexpandb","vpexpandd","vpexpandq","vpexpandw","vpgatherdd", - "vpgatherdq","vpgatherqd","vpgatherqq","vplzcntd","vplzcntq","vpmadd52huq","vpmadd52luq","vpmaskmov","vpmovb2m","vpmovd2m", - "vpmovdb","vpmovdw","vpmovm2b","vpmovm2d","vpmovm2q","vpmovm2w","vpmovq2m","vpmovqb","vpmovqd","vpmovqw", - "vpmovsdb","vpmovsdw","vpmovsqb","vpmovsqd","vpmovsqw","vpmovswb","vpmovusdb","vpmovusdw","vpmovusqb","vpmovusqd", - "vpmovusqw","vpmovuswb","vpmovw2m","vpmovwb","vpmultishiftqb","vpopcnt","vprold","vprolq","vprolvd","vprolvq", - "vprord","vprorq","vprorvd","vprorvq","vpscatterdd","vpscatterdq","vpscatterqd","vpscatterqq","vpshld","vpshldv", - "vpshrd","vpshrdv","vpshufbitqmb","vpsllvd","vpsllvq","vpsllvw","vpsravd","vpsravq","vpsravw","vpsrlvd", - "vpsrlvq","vpsrlvw","vpternlogd","vpternlogq","vptestmb","vptestmd","vptestmq","vptestmw","vptestnmb","vptestnmd", - "vptestnmq","vptestnmw","vrangepd","vrangeps","vrangesd","vrangess","vrcp14pd","vrcp14ps","vrcp14sd","vrcp14ss", - "vreducepd","vreduceps","vreducesd","vreducess","vrndscalepd","vrndscaleps","vrndscalesd","vrndscaless","vrsqrt14pd","vrsqrt14ps", - "vrsqrt14sd","vrsqrt14ss","vscalefpd","vscalefps","vscalefsd","vscalefss","vscatterdpd","vscatterdps","vscatterqpd","vscatterqps", - "vshuff32x4","vshuff64x2","vshufi32x4","vshufi64x2","vtestpd","vtestps","vzeroall","vzeroupper","wait","wbinvd", - "wbnoinvd","wrfsbase","wrgsbase","wrmsr","wrpkru","wrssd","wrssq","wrussd","wrussq","xabort", - "xacquire","xadd","xbegin","xchg","xend","xgetbv","xlat","xlatb","xor","xorb","xorw","xorl","xorq","xorpd", - "xorps","xrelease","xrstor","xrstors","xsave","xsavec","xsaveopt","xsaves","xsetbv","xtest", -}; - const QSet ASMSyntaxer::Directives { "section","global","extern","segment", "db","dw","dd","dq","dt","do","dy","dz", @@ -233,6 +122,7 @@ const QSet ASMSyntaxer::ATTDirectives { ASMSyntaxer::ASMSyntaxer(bool isATT): mATT(isATT) { + initData(); mNumberAttribute = std::make_shared(SYNS_AttrNumber, TokenType::Number); addAttribute(mNumberAttribute); mDirectiveAttribute = std::make_shared(SYNS_AttrVariable, TokenType::Keyword); @@ -440,6 +330,766 @@ bool ASMSyntaxer::isIdentStartChar(const QChar &ch) return false; } +void ASMSyntaxer::initData() +{ + if (Instructions.isEmpty()) { + // https://docs.oracle.com/cd/E19120-01/open.solaris/817-5477/ennbz/index.html + //Data Transfer Instruction + Instructions.insert("bswap",QObject::tr("byte swap.")); + Instructions.insert("bswapl",QObject::tr("byte swap.")); + Instructions.insert("bswapq",QObject::tr("byte swap.")); + Instructions.insert("cbtw",QObject::tr("convert %1 to %2.").arg(QObject::tr("byte"),QObject::tr("word"))); + Instructions.insert("cltd",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("double word"),"%eax",QObject::tr("quad word"),"%edx:%eax")); + Instructions.insert("cltq",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("double word"),"%eax",QObject::tr("quad word"),"%rax")); + Instructions.insert("cmove",QObject::tr("Conditional move if equal")); + Instructions.insert("cmovz",QObject::tr("Conditional move if zero.")); + Instructions.insert("cmovne",QObject::tr("Conditional move if not equal.")); + Instructions.insert("cmovnz",QObject::tr("Conditional move if not equal.")); + Instructions.insert("cmova",QObject::tr("Conditional move if above.")); + Instructions.insert("cmovbe",QObject::tr("Conditional move if not below or equal.")); + Instructions.insert("cmovae",QObject::tr("Conditional move if above or equal.")); + Instructions.insert("cmovnb",QObject::tr("Conditional move if not below.")); + Instructions.insert("cmovb",QObject::tr("Conditional move if below.")); + Instructions.insert("cmovnae",QObject::tr("Conditional move if not above or equal.")); + Instructions.insert("cmovbe",QObject::tr("Conditional move if below or equal.")); + Instructions.insert("cmovna",QObject::tr("Conditional move if not above.")); + Instructions.insert("cmovg",QObject::tr("Conditional move if greater.")); + Instructions.insert("cmovnle",QObject::tr("Conditional move if not less or equal.")); + Instructions.insert("cmovge",QObject::tr("Conditional move if greater or equal.")); + Instructions.insert("cmovnl",QObject::tr("Conditional move if not less.")); + Instructions.insert("cmovl",QObject::tr("Conditional move if less.")); + Instructions.insert("cmovnge",QObject::tr("Conditional move if not greater or equal.")); + Instructions.insert("cmovle",QObject::tr("Conditional move if less or equal.")); + Instructions.insert("cmovng",QObject::tr("Conditional move if not greater.")); + Instructions.insert("cmovc",QObject::tr("Conditional move if carry.")); + Instructions.insert("cmovnc",QObject::tr("Conditional move if not carry.")); + Instructions.insert("cmovo",QObject::tr("Conditional move if overflow.")); + Instructions.insert("cmovno",QObject::tr("Conditional move if not overflow.")); + Instructions.insert("cmovs",QObject::tr("Conditional move if sign (negative).")); + Instructions.insert("cmovns",QObject::tr("Conditional move if not sign (non-negative).")); + Instructions.insert("cmovp",QObject::tr("Conditional move if parity.")); + Instructions.insert("cmovpe",QObject::tr("Conditional move if parity even.")); + Instructions.insert("cmovnp",QObject::tr("Conditional move if not parity.")); + Instructions.insert("cmovpo",QObject::tr("Conditional move if parity odd.")); + Instructions.insert("cmpxchg",QObject::tr("Compare and exchange.")); + Instructions.insert("cmpxchg8b",QObject::tr("Compare and exchange 8 bytes.")); + Instructions.insert("cqtd",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("quad word"),"%rax",QObject::tr("oct word"),"%rdx:%rax")); + Instructions.insert("cqto",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("quad word"),"%rax",QObject::tr("oct word"),"%rdx:%rax")); + Instructions.insert("cwtd",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("word"),"%ax",QObject::tr("double word"),"%dx:%ax")); + Instructions.insert("cwtl",QObject::tr("convert %1 in %2 to %3 in %4.").arg(QObject::tr("word"),"%ax",QObject::tr("double word"),"%eax")); + Instructions.insert("mov",QObject::tr("move data between immediate values, general purpose registers, segment registers, and memory.")); + Instructions.insert("movb",QObject::tr("move %1 data between immediate values, general purpose registers, segment registers, and memory.").arg(QObject::tr("byte"))); + Instructions.insert("movw",QObject::tr("Move %1.").arg(QObject::tr("word"))); + Instructions.insert("movl",QObject::tr("Move %1.").arg(QObject::tr("double word"))); + Instructions.insert("movq",QObject::tr("Move %1.").arg(QObject::tr("quad word"))); + Instructions.insert("movabs",QObject::tr("move immediate value to register.")); + Instructions.insert("movabsb",QObject::tr("move immediate %1 value to register.").arg(QObject::tr("byte"))); + Instructions.insert("movabsw",QObject::tr("move immediate %1 value to register.").arg(QObject::tr("word"))); + Instructions.insert("movabsl",QObject::tr("move immediate %1 value to register.").arg(QObject::tr("double word"))); + Instructions.insert("movabsq",QObject::tr("move immediate %1 value to register.").arg(QObject::tr("quad word"))); + Instructions.insert("movabsa",QObject::tr("move immediate value to register %al/%ax/%eax/%rax.")); + Instructions.insert("movabsba",QObject::tr("move immediate %1 value to register %2.").arg(QObject::tr("byte"),"%al")); + Instructions.insert("movabswa",QObject::tr("move immediate %1 value to register %2.").arg(QObject::tr("word"),"%ax")); + Instructions.insert("movabsla",QObject::tr("move immediate %1 value to register %2.").arg(QObject::tr("double word"),"%eax")); + Instructions.insert("movabsqa",QObject::tr("move immediate %1 value to register %2.").arg(QObject::tr("quad word"),"%rax")); + Instructions.insert("movsx",QObject::tr("Move and sign extension.")); //intel + Instructions.insert("movsbw",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("word"))); + Instructions.insert("movsbl",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("double word"))); + Instructions.insert("movswl",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("word"),QObject::tr("double word"))); + Instructions.insert("movsbq",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("quad word"))); + Instructions.insert("movswq",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("word"),QObject::tr("quad word"))); + Instructions.insert("movslq",QObject::tr("Move sign-extended %1 to %2.").arg(QObject::tr("double word"),QObject::tr("quad word"))); + Instructions.insert("movzx",QObject::tr("Move with zero extension.")); //intel + Instructions.insert("movzbw",QObject::tr("Move zero-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("word"))); + Instructions.insert("movzbl",QObject::tr("Move zero-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("double word"))); + Instructions.insert("movzwl",QObject::tr("Move zero-extended %1 to %2.").arg(QObject::tr("word"),QObject::tr("double word"))); + Instructions.insert("movzbq",QObject::tr("Move zero-extended %1 to %2.").arg(QObject::tr("byte"),QObject::tr("quad word"))); + Instructions.insert("movzwq",QObject::tr("Move zero-extended %1 to %2.").arg(QObject::tr("word"),QObject::tr("quad word"))); + Instructions.insert("pop",QObject::tr("Pop stack.")); + Instructions.insert("popw",QObject::tr("Pop %1 off stack.").arg(QObject::tr("word"))); + Instructions.insert("popl",QObject::tr("Pop %1 off stack.").arg(QObject::tr("double word"))); + Instructions.insert("popq",QObject::tr("Pop %1 off stack.").arg(QObject::tr("quad word"))); + Instructions.insert("popa",QObject::tr("Pop general-purpose registers from stack.")); + Instructions.insert("popaw",QObject::tr("Pop general-purpose registers from stack.")); + Instructions.insert("popad",QObject::tr("Pop general-purpose registers from stack.")); + Instructions.insert("push",QObject::tr("Push stack.")); + Instructions.insert("pushw",QObject::tr("Push %1 onto stack.").arg(QObject::tr("word"))); + Instructions.insert("pushl",QObject::tr("Push %1 onto stack.").arg(QObject::tr("double word"))); + Instructions.insert("pushq",QObject::tr("Push %1 onto stack.").arg(QObject::tr("quad word"))); + Instructions.insert("pusha",QObject::tr("Push general-purpose registers onto stack.")); + Instructions.insert("pushaw",QObject::tr("Push general-purpose registers onto stack.")); + Instructions.insert("pushal",QObject::tr("Push general-purpose registers onto stack.")); + Instructions.insert("xadd",QObject::tr("Exchange and add %1.").arg("integer")); + Instructions.insert("xaddb",QObject::tr("Exchange and add %1.").arg("byte")); + Instructions.insert("xaddw",QObject::tr("Exchange and add %1.").arg("word")); + Instructions.insert("xaddl",QObject::tr("Exchange and add %1.").arg("double word")); + Instructions.insert("xaddq",QObject::tr("Exchange and add %1.").arg("quad word")); + Instructions.insert("xchg",QObject::tr("Exchange %1.").arg("integer")); + Instructions.insert("xchgb",QObject::tr("Exchange %1.").arg("byte")); + Instructions.insert("xchgw",QObject::tr("Exchange %1.").arg("word")); + Instructions.insert("xchgl",QObject::tr("Exchange %1.").arg("double word")); + Instructions.insert("xchgq",QObject::tr("Exchange %1.").arg("quad word")); + //Binary Arithmetic Instructions + Instructions.insert("adcx",QObject::tr("add unsigned %1 with carry.").arg(QObject::tr("integer"))); //intel +// Instructions.insert("adcxb",QObject::tr("add unsigned %1 with carry.").arg(QObject::tr("byte"))); +// Instructions.insert("adcxw",QObject::tr("add unsigned %1 with carry.").arg(QObject::tr("word"))); +// Instructions.insert("adcxl",QObject::tr("add unsigned %1 with carry.").arg(QObject::tr("double word"))); +// Instructions.insert("adcxq",QObject::tr("add unsigned %1 with carry.").arg(QObject::tr("quad word"))); + Instructions.insert("ado",QObject::tr("add unsigned %1 with overflow.").arg(QObject::tr("integer"))); //intel +// Instructions.insert("adob",QObject::tr("add unsigned %1 with overflow.").arg(QObject::tr("byte"))); +// Instructions.insert("adow",QObject::tr("add unsigned %1 with overflow.").arg(QObject::tr("word"))); +// Instructions.insert("adol",QObject::tr("add unsigned %1 with overflow.").arg(QObject::tr("double word"))); +// Instructions.insert("adoq",QObject::tr("add unsigned %1 with overflow.").arg(QObject::tr("quad word"))); + Instructions.insert("adc",QObject::tr("add %1 with carry.").arg(QObject::tr("integer"))); + Instructions.insert("adcb",QObject::tr("add %1 with carry.").arg(QObject::tr("byte"))); + Instructions.insert("adcw",QObject::tr("add %1 with carry.").arg(QObject::tr("word"))); + Instructions.insert("adcl",QObject::tr("add %1 with carry.").arg(QObject::tr("double word"))); + Instructions.insert("adcq",QObject::tr("add %1 with carry.").arg(QObject::tr("quad word"))); + Instructions.insert("add",QObject::tr("add %1.").arg(QObject::tr("integer"))); + Instructions.insert("addb",QObject::tr("add %1.").arg(QObject::tr("byte"))); + Instructions.insert("addw",QObject::tr("add %1.").arg(QObject::tr("word"))); + Instructions.insert("addl",QObject::tr("add %1.").arg(QObject::tr("double word"))); + Instructions.insert("addq",QObject::tr("add %1.").arg(QObject::tr("quad word"))); + Instructions.insert("cmp",QObject::tr("compare.")); + Instructions.insert("cmpb",QObject::tr("compare %1.").arg(QObject::tr("byte"))); + Instructions.insert("cmpw",QObject::tr("compare %1.").arg(QObject::tr("word"))); + Instructions.insert("cmpl",QObject::tr("compare %1.").arg(QObject::tr("double word"))); + Instructions.insert("cmpq",QObject::tr("compare %1.").arg(QObject::tr("quad word"))); + Instructions.insert("dec",QObject::tr("decrement by 1.")); + Instructions.insert("decb",QObject::tr("decrement %1 by 1.").arg(QObject::tr("byte"))); + Instructions.insert("decw",QObject::tr("decrement %1 by 1.").arg(QObject::tr("word"))); + Instructions.insert("decl",QObject::tr("decrement %1 by 1.").arg(QObject::tr("double word"))); + Instructions.insert("decq",QObject::tr("decrement %1 by 1.").arg(QObject::tr("quad word"))); + Instructions.insert("div",QObject::tr("unsigned %1 divide.").arg(QObject::tr("integer"))); + Instructions.insert("divb",QObject::tr("unsigned %1 divide.").arg(QObject::tr("byte"))); + Instructions.insert("divw",QObject::tr("unsigned %1 divide.").arg(QObject::tr("word"))); + Instructions.insert("divl",QObject::tr("unsigned %1 divide.").arg(QObject::tr("double word"))); + Instructions.insert("divq",QObject::tr("unsigned %1 divide.").arg(QObject::tr("quad word"))); + Instructions.insert("idiv",QObject::tr("signed %1 divide.").arg(QObject::tr("integer"))); + Instructions.insert("idivb",QObject::tr("signed %1 divide.").arg(QObject::tr("byte"))); + Instructions.insert("idivw",QObject::tr("signed %1 divide.").arg(QObject::tr("word"))); + Instructions.insert("idivl",QObject::tr("signed %1 divide.").arg(QObject::tr("double word"))); + Instructions.insert("idivq",QObject::tr("signed %1 divide.").arg(QObject::tr("quad word"))); + Instructions.insert("imul",QObject::tr("signed %1 multiply.").arg(QObject::tr("integer"))); + Instructions.insert("imulb",QObject::tr("signed %1 multiply.").arg(QObject::tr("byte"))); + Instructions.insert("imulw",QObject::tr("signed %1 multiply.").arg(QObject::tr("word"))); + Instructions.insert("imull",QObject::tr("signed %1 multiply.").arg(QObject::tr("double word"))); + Instructions.insert("imulq",QObject::tr("signed %1 multiply.").arg(QObject::tr("quad word"))); + Instructions.insert("inc",QObject::tr("increment by 1.")); + Instructions.insert("incb",QObject::tr("increment %1 by 1.").arg(QObject::tr("byte"))); + Instructions.insert("incw",QObject::tr("increment %1 by 1.").arg(QObject::tr("word"))); + Instructions.insert("incl",QObject::tr("increment %1 by 1.").arg(QObject::tr("double word"))); + Instructions.insert("incq",QObject::tr("increment %1 by 1.").arg(QObject::tr("quad word"))); + Instructions.insert("mul",QObject::tr("unsigned %1 multiply.").arg(QObject::tr("integer"))); + Instructions.insert("mulb",QObject::tr("unsigned %1 multiply.").arg(QObject::tr("byte"))); + Instructions.insert("mulw",QObject::tr("unsigned %1 multiply.").arg(QObject::tr("word"))); + Instructions.insert("mull",QObject::tr("unsigned %1 multiply.").arg(QObject::tr("double word"))); + Instructions.insert("mulq",QObject::tr("unsigned %1 multiply.").arg(QObject::tr("quad word"))); + Instructions.insert("neg",QObject::tr("Two's complement negation.")); + Instructions.insert("negb",QObject::tr("Replace the value of the %1 with its two's complement").arg("byte")); + Instructions.insert("negw",QObject::tr("Replace the value of the %1 with its two's complement").arg("word")); + Instructions.insert("negl",QObject::tr("Replace the value of the %1 with its two's complement").arg("double word")); + Instructions.insert("negq",QObject::tr("Replace the value of the %1 with its two's complement").arg("quad word")); + Instructions.insert("sbb",QObject::tr("subtract %1 with borrow.").arg(QObject::tr("integer"))); + Instructions.insert("sbbb",QObject::tr("subtract %1 with borrow.").arg(QObject::tr("byte"))); + Instructions.insert("sbbw",QObject::tr("subtract %1 with borrow.").arg(QObject::tr("word"))); + Instructions.insert("sbbl",QObject::tr("subtract %1 with borrow.").arg(QObject::tr("double word"))); + Instructions.insert("sbbq",QObject::tr("subtract %1 with borrow.").arg(QObject::tr("quad word"))); + Instructions.insert("sub",QObject::tr("subtract %1.").arg(QObject::tr("integer"))); + Instructions.insert("subb",QObject::tr("subtract %1.").arg(QObject::tr("byte"))); + Instructions.insert("subw",QObject::tr("subtract %1.").arg(QObject::tr("word"))); + Instructions.insert("subl",QObject::tr("subtract %1.").arg(QObject::tr("double word"))); + Instructions.insert("subq",QObject::tr("subtract %1.").arg(QObject::tr("quad word"))); + //Decimal Arithmetic Instructions + Instructions.insert("aaa",QObject::tr("ascii adjust after addition.")); + Instructions.insert("aad",QObject::tr("ascii adjust before division.")); + Instructions.insert("aam",QObject::tr("ascii adjust after multiplication.")); + Instructions.insert("aas",QObject::tr("ascii adjust after subtraction.")); + Instructions.insert("daa",QObject::tr("decimal adjust after addition.")); + Instructions.insert("das",QObject::tr("decimal adjust after subtraction.")); + //Logical Instructions + Instructions.insert("and",QObject::tr("bitwise logical AND.")); + Instructions.insert("andb",QObject::tr("bitwise logical AND on %1 values.").arg(QObject::tr("byte"))); + Instructions.insert("andw",QObject::tr("bitwise logical AND on %1 values.").arg(QObject::tr("word"))); + Instructions.insert("andl",QObject::tr("bitwise logical AND on %1 values.").arg(QObject::tr("double word"))); + Instructions.insert("andq",QObject::tr("bitwise logical AND on %1 values.").arg(QObject::tr("quad word"))); + Instructions.insert("not",QObject::tr("bitwise logical NOT.")); + Instructions.insert("notb",QObject::tr("bitwise logical NOT on %1 value.").arg(QObject::tr("byte"))); + Instructions.insert("notw",QObject::tr("bitwise logical NOT on %1 value.").arg(QObject::tr("word"))); + Instructions.insert("notl",QObject::tr("bitwise logical NOT on %1 value.").arg(QObject::tr("double word"))); + Instructions.insert("notq",QObject::tr("bitwise logical NOT on %1 value.").arg(QObject::tr("quad word"))); + Instructions.insert("or",QObject::tr("bitwise logical OR.")); + Instructions.insert("orb",QObject::tr("bitwise logical OR on %1 values.").arg(QObject::tr("byte"))); + Instructions.insert("orw",QObject::tr("bitwise logical OR on %1 values.").arg(QObject::tr("word"))); + Instructions.insert("orl",QObject::tr("bitwise logical OR on %1 values.").arg(QObject::tr("double word"))); + Instructions.insert("orq",QObject::tr("bitwise logical OR on %1 values.").arg(QObject::tr("quad word"))); + Instructions.insert("xor",QObject::tr("bitwise logical XOR.")); + Instructions.insert("xorb",QObject::tr("bitwise logical XOR on %1 values.").arg(QObject::tr("byte"))); + Instructions.insert("xorw",QObject::tr("bitwise logical XOR on %1 values.").arg(QObject::tr("word"))); + Instructions.insert("xorl",QObject::tr("bitwise logical XOR on %1 values.").arg(QObject::tr("double word"))); + Instructions.insert("xorq",QObject::tr("bitwise logical XOR on %1 values.").arg(QObject::tr("quad word"))); + //Shift and Rotate Instructions + Instructions.insert("rcl",QObject::tr("rotate %1 through carry left.").arg(QObject::tr("integer"))); + Instructions.insert("rclb",QObject::tr("rotate %1 through carry left.").arg(QObject::tr("byte"))); + Instructions.insert("rclw",QObject::tr("rotate %1 through carry left.").arg(QObject::tr("word"))); + Instructions.insert("rcll",QObject::tr("rotate %1 through carry left.").arg(QObject::tr("double word"))); + Instructions.insert("rclq",QObject::tr("rotate %1 through carry left.").arg(QObject::tr("quad word"))); + Instructions.insert("rcr",QObject::tr("rotate %1 through carry right.").arg(QObject::tr("integer"))); + Instructions.insert("rcrb",QObject::tr("rotate %1 through carry right.").arg(QObject::tr("byte"))); + Instructions.insert("rcrw",QObject::tr("rotate %1 through carry right.").arg(QObject::tr("word"))); + Instructions.insert("rcrl",QObject::tr("rotate %1 through carry right.").arg(QObject::tr("double word"))); + Instructions.insert("rcrq",QObject::tr("rotate %1 through carry right.").arg(QObject::tr("quad word"))); + Instructions.insert("rol",QObject::tr("rotate %1 left.").arg(QObject::tr("integer"))); + Instructions.insert("rolb",QObject::tr("rotate %1 left.").arg(QObject::tr("byte"))); + Instructions.insert("rolw",QObject::tr("rotate %1 left.").arg(QObject::tr("word"))); + Instructions.insert("roll",QObject::tr("rotate %1 left.").arg(QObject::tr("double word"))); + Instructions.insert("rolq",QObject::tr("rotate %1 left.").arg(QObject::tr("quad word"))); + Instructions.insert("ror",QObject::tr("rotate %1 right.").arg(QObject::tr("integer"))); + Instructions.insert("rorb",QObject::tr("rotate %1 right.").arg(QObject::tr("byte"))); + Instructions.insert("rorw",QObject::tr("rotate %1 right.").arg(QObject::tr("word"))); + Instructions.insert("rorl",QObject::tr("rotate %1 right.").arg(QObject::tr("double word"))); + Instructions.insert("rorq",QObject::tr("rotate %1 right.").arg(QObject::tr("quad word"))); + Instructions.insert("sal",QObject::tr("shift %1 arithmetic left.").arg(QObject::tr("integer"))); + Instructions.insert("salb",QObject::tr("shift %1 arithmetic left.").arg(QObject::tr("byte"))); + Instructions.insert("salw",QObject::tr("shift %1 arithmetic left.").arg(QObject::tr("word"))); + Instructions.insert("sall",QObject::tr("shift %1 arithmetic left.").arg(QObject::tr("double word"))); + Instructions.insert("salq",QObject::tr("shift %1 arithmetic left.").arg(QObject::tr("quad word"))); + Instructions.insert("sar",QObject::tr("shift %1 arithmetic right.").arg(QObject::tr("integer"))); + Instructions.insert("sarb",QObject::tr("shift %1 arithmetic right.").arg(QObject::tr("byte"))); + Instructions.insert("sarw",QObject::tr("shift %1 arithmetic right.").arg(QObject::tr("word"))); + Instructions.insert("sarl",QObject::tr("shift %1 arithmetic right.").arg(QObject::tr("double word"))); + Instructions.insert("sarq",QObject::tr("shift %1 arithmetic right.").arg(QObject::tr("quad word"))); + Instructions.insert("shl",QObject::tr("shift %1 logical left.").arg(QObject::tr("integer"))); + Instructions.insert("shlb",QObject::tr("shift %1 logical left.").arg(QObject::tr("byte"))); + Instructions.insert("shlw",QObject::tr("shift %1 logical left.").arg(QObject::tr("word"))); + Instructions.insert("shll",QObject::tr("shift %1 logical left.").arg(QObject::tr("double word"))); + Instructions.insert("shlq",QObject::tr("shift %1 logical left.").arg(QObject::tr("quad word"))); + Instructions.insert("shr",QObject::tr("shift %1 logical right.").arg(QObject::tr("integer"))); + Instructions.insert("shrb",QObject::tr("shift %1 logical right.").arg(QObject::tr("byte"))); + Instructions.insert("shrw",QObject::tr("shift %1 logical right.").arg(QObject::tr("word"))); + Instructions.insert("shrl",QObject::tr("shift %1 logical right.").arg(QObject::tr("double word"))); + Instructions.insert("shrq",QObject::tr("shift %1 logical right.").arg(QObject::tr("quad word"))); + Instructions.insert("shld",QObject::tr("shift %1 left double.").arg(QObject::tr("integer"))); + Instructions.insert("shldb",QObject::tr("shift %1 left double.").arg(QObject::tr("byte"))); + Instructions.insert("shldw",QObject::tr("shift %1 left double.").arg(QObject::tr("word"))); + Instructions.insert("shldl",QObject::tr("shift %1 left double.").arg(QObject::tr("double word"))); + Instructions.insert("shldq",QObject::tr("shift %1 left double.").arg(QObject::tr("quad word"))); + Instructions.insert("shrd",QObject::tr("shift %1 right double.").arg(QObject::tr("integer"))); + Instructions.insert("shrdb",QObject::tr("shift %1 right double.").arg(QObject::tr("byte"))); + Instructions.insert("shrdw",QObject::tr("shift %1 right double.").arg(QObject::tr("word"))); + Instructions.insert("shrdl",QObject::tr("shift %1 right double.").arg(QObject::tr("double word"))); + Instructions.insert("shrdq",QObject::tr("shift %1 right double.").arg(QObject::tr("quad word"))); + //Bit and Byte Instructions + Instructions.insert("bsf",QObject::tr("bit scan forward.")); + Instructions.insert("bsfw",QObject::tr("bit scan forward in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("bsfl",QObject::tr("bit scan forward in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("bsfq",QObject::tr("bit scan forward in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("bsr",QObject::tr("bit scan reserve.")); + Instructions.insert("bsrw",QObject::tr("bit scan reserve in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("bsrl",QObject::tr("bit scan reserve in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("bsrq",QObject::tr("bit scan reserve in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("bt",QObject::tr("bit test.")); + Instructions.insert("btw",QObject::tr("bit test in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("btl",QObject::tr("bit test in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("btq",QObject::tr("bit test in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("btc",QObject::tr("bit test and complement.")); + Instructions.insert("btcw",QObject::tr("bit test and complement in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("btcl",QObject::tr("bit test and complement in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("btcq",QObject::tr("bit test and complement in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("btr",QObject::tr("bit test and reset.")); + Instructions.insert("btrw",QObject::tr("bit test and reset in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("btrl",QObject::tr("bit test and reset in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("btrq",QObject::tr("bit test and reset in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("bts",QObject::tr("bit test and set.")); + Instructions.insert("btsw",QObject::tr("bit test and set in the %1 operand.").arg(QObject::tr("word"))); + Instructions.insert("btsl",QObject::tr("bit test and set in the %1 operand.").arg(QObject::tr("double word"))); + Instructions.insert("btsq",QObject::tr("bit test and set in the %1 operand.").arg(QObject::tr("quad word"))); + Instructions.insert("seta",QObject::tr("set byte if above.")); + Instructions.insert("setae",QObject::tr("set byte if above or equal.")); + Instructions.insert("setb",QObject::tr("set byte if below.")); + Instructions.insert("setbe",QObject::tr("set byte if below or equal.")); + Instructions.insert("setc",QObject::tr("set byte if carry.")); + Instructions.insert("sete",QObject::tr("set byte if equal.")); + Instructions.insert("setg",QObject::tr("set byte if greater.")); + Instructions.insert("setge",QObject::tr("set byte if greater or equal.")); + Instructions.insert("setl",QObject::tr("set byte if less.")); + Instructions.insert("setle",QObject::tr("set byte if less or equal.")); + Instructions.insert("setna",QObject::tr("set byte if not above.")); + Instructions.insert("setnae",QObject::tr("set byte if not above or equal.")); + Instructions.insert("setnb",QObject::tr("set byte if not below.")); + Instructions.insert("setnbe",QObject::tr("set byte if not below or equal.")); + Instructions.insert("setnc",QObject::tr("set byte if not carry.")); + Instructions.insert("setne",QObject::tr("set byte if not equal.")); + Instructions.insert("setng",QObject::tr("set byte if not greater.")); + Instructions.insert("setnge",QObject::tr("set byte if not greater or equal.")); + Instructions.insert("setnl",QObject::tr("set byte if not less.")); + Instructions.insert("setnle",QObject::tr("set byte if not less or equal.")); + Instructions.insert("setno",QObject::tr("set byte if not overflow.")); + Instructions.insert("setnp",QObject::tr("set byte if not parity.")); + Instructions.insert("setns",QObject::tr("set byte if not sign (non-negative).")); + Instructions.insert("setnz",QObject::tr("set byte if not zero.")); + Instructions.insert("seto",QObject::tr("set byte if overflow.")); + Instructions.insert("setp",QObject::tr("set byte if parity.")); + Instructions.insert("setpe",QObject::tr("set byte if parity even.")); + Instructions.insert("setpo",QObject::tr("set byte if parity odd.")); + Instructions.insert("sets",QObject::tr("set byte if sign (negative).")); + Instructions.insert("setz",QObject::tr("set byte if zero.")); + Instructions.insert("test",QObject::tr("logical compare.")); + Instructions.insert("testb",QObject::tr("logical compare %1.").arg(QObject::tr("byte"))); + Instructions.insert("testw",QObject::tr("logical compare %1.").arg(QObject::tr("word"))); + Instructions.insert("testl",QObject::tr("logical compare %1.").arg(QObject::tr("double word"))); + Instructions.insert("testq",QObject::tr("logical compare %1.").arg(QObject::tr("quad word"))); + + //Control Transfer Instructions + Instructions.insert("bound",QObject::tr("detect value out of range.")); + Instructions.insert("boundw",QObject::tr("detect %1 value out of range.").arg(QObject::tr("word"))); + Instructions.insert("boundl",QObject::tr("detect %1 value out of range.").arg(QObject::tr("double word"))); + Instructions.insert("call",QObject::tr("call procedure.")); + Instructions.insert("enter",QObject::tr("high-level procedure entry.")); + Instructions.insert("int",QObject::tr("software interrupt.")); + Instructions.insert("into",QObject::tr("interrupt on overflow.")); + Instructions.insert("iret",QObject::tr("return from interrupt.")); + Instructions.insert("ja",QObject::tr("jump if above.")); + Instructions.insert("jae",QObject::tr("jump if above or equal.")); + Instructions.insert("jb",QObject::tr("jump if below.")); + Instructions.insert("jbe",QObject::tr("jump if below or equal.")); + Instructions.insert("jc",QObject::tr("jump if carry.")); + Instructions.insert("jcxz",QObject::tr("jump register %cx zero")); + Instructions.insert("je",QObject::tr("jump if equal.")); + Instructions.insert("jecxz",QObject::tr("jump register %ecx zero")); + Instructions.insert("jg",QObject::tr("jump if greater.")); + Instructions.insert("jge",QObject::tr("jump if greater or equal.")); + Instructions.insert("jl",QObject::tr("jump if less.")); + Instructions.insert("jle",QObject::tr("jump if less or equal.")); + Instructions.insert("jmp",QObject::tr("jump.")); + Instructions.insert("jnae",QObject::tr("jump if not above or equal.")); + Instructions.insert("jnb",QObject::tr("jump if not below.")); + Instructions.insert("jnbe",QObject::tr("jump if not below or equal.")); + Instructions.insert("jnc",QObject::tr("jump if not carry.")); + Instructions.insert("jne",QObject::tr("jump if not equal.")); + Instructions.insert("jng",QObject::tr("jump if not greater.")); + Instructions.insert("jnge",QObject::tr("jump if not greater or equal.")); + Instructions.insert("jnl",QObject::tr("jump if not less.")); + Instructions.insert("jnle",QObject::tr("jump if not less or equal.")); + Instructions.insert("jno",QObject::tr("jump if not overflow.")); + Instructions.insert("jnp",QObject::tr("jump if not parity.")); + Instructions.insert("jns",QObject::tr("jump if not sign (non-negative).")); + Instructions.insert("jnz",QObject::tr("jump if not zero.")); + Instructions.insert("jo",QObject::tr("jump if overflow.")); + Instructions.insert("jp",QObject::tr("jump if parity.")); + Instructions.insert("jpe",QObject::tr("jump if parity even.")); + Instructions.insert("jpo",QObject::tr("jump if parity odd.")); + Instructions.insert("js",QObject::tr("jump if sign (negative).")); + Instructions.insert("jz",QObject::tr("jump if zero.")); + Instructions.insert("lcall",QObject::tr("call far procedure.")); + Instructions.insert("leave",QObject::tr("high-level procedure exit.")); + Instructions.insert("loop",QObject::tr("loop with %ecx counter")); + Instructions.insert("loope",QObject::tr("loop with %ecx and equal")); + Instructions.insert("loopne",QObject::tr("loop with %ecx and not equal")); + Instructions.insert("loopnz",QObject::tr("loop with %ecx and not zero")); + Instructions.insert("loopz",QObject::tr("loop with %ecx and zero")); + Instructions.insert("lret",QObject::tr("return from far procedure.")); + Instructions.insert("ret",QObject::tr("return.")); + + //String Instructions + Instructions.insert("coms",QObject::tr("compare string.")); + Instructions.insert("cpmsb",QObject::tr("compare %1 string.").arg(QObject::tr("byte"))); + Instructions.insert("cmpsw",QObject::tr("compare %1 string.").arg(QObject::tr("word"))); + Instructions.insert("cmpsl",QObject::tr("compare %1 string.").arg(QObject::tr("double word"))); + Instructions.insert("cmpsq",QObject::tr("compare %1 string.").arg(QObject::tr("quad word"))); + Instructions.insert("lods",QObject::tr("load string.")); + Instructions.insert("lodsb",QObject::tr("load %1 string.").arg(QObject::tr("byte"))); + Instructions.insert("lodsw",QObject::tr("load %1 string.").arg(QObject::tr("word"))); + Instructions.insert("lodsl",QObject::tr("load %1 string.").arg(QObject::tr("double word"))); + Instructions.insert("lodsq",QObject::tr("load %1 string.").arg(QObject::tr("quad word"))); + Instructions.insert("movs",QObject::tr("move string.")); + Instructions.insert("movsb",QObject::tr("move %1 string.").arg(QObject::tr("byte"))); + Instructions.insert("movsw",QObject::tr("move %1 string.").arg(QObject::tr("word"))); + Instructions.insert("movsl",QObject::tr("move %1 string.").arg(QObject::tr("double word"))); + Instructions.insert("movsq",QObject::tr("move %1 string.").arg(QObject::tr("quad word"))); + Instructions.insert("rep",QObject::tr("repeat while %ecx not zero")); + Instructions.insert("repnz",QObject::tr("repeat while not equal.")); + Instructions.insert("repnz",QObject::tr("repeat while not zero.")); + Instructions.insert("repz",QObject::tr("repeat while equal.")); + Instructions.insert("repz",QObject::tr("repeat while zero.")); + Instructions.insert("scas",QObject::tr("scan string.")); + Instructions.insert("scasb",QObject::tr("scan %1 string.").arg(QObject::tr("byte"))); + Instructions.insert("scasw",QObject::tr("scan %1 string.").arg(QObject::tr("word"))); + Instructions.insert("scasl",QObject::tr("scan %1 string.").arg(QObject::tr("double word"))); + Instructions.insert("scasq",QObject::tr("scan %1 string.").arg(QObject::tr("quad word"))); + Instructions.insert("stos",QObject::tr("store string.")); + Instructions.insert("stosb",QObject::tr("store %1 string.").arg(QObject::tr("byte"))); + Instructions.insert("stosw",QObject::tr("store %1 string.").arg(QObject::tr("word"))); + Instructions.insert("stosl",QObject::tr("store %1 string.").arg(QObject::tr("double word"))); + Instructions.insert("stosq",QObject::tr("store %1 string.").arg(QObject::tr("quad word"))); + //I/O Instructions + Instructions.insert("in",QObject::tr("read from a port.")); + Instructions.insert("ins",QObject::tr("input string from a port.")); + Instructions.insert("insb",QObject::tr("input byte string from port.")); + Instructions.insert("insl",QObject::tr("input double word string from port.")); + Instructions.insert("insw",QObject::tr("input word string from port.")); + Instructions.insert("out",QObject::tr("write to a port.")); + Instructions.insert("outs",QObject::tr("output string to port.")); + Instructions.insert("outsb",QObject::tr("output byte string to port.")); + Instructions.insert("outsl",QObject::tr("output double word string to port.")); + Instructions.insert("outsw",QObject::tr("output word string to port.")); + //Flag Control (EFLAG) Instructions + Instructions.insert("clc",QObject::tr("clear carry flag.")); + Instructions.insert("cld",QObject::tr("clear direction flag.")); + Instructions.insert("cli",QObject::tr("clear interrupt flag.")); + Instructions.insert("cmc",QObject::tr("complement carry flag.")); + Instructions.insert("lahf",QObject::tr("load flags into %ah register")); + Instructions.insert("popfw",QObject::tr("pop %eflags from stack")); + Instructions.insert("popf{lq}",QObject::tr("pop %eflags from stack")); + Instructions.insert("pushfw",QObject::tr("push %eflags onto stack")); + Instructions.insert("pushf{lq}",QObject::tr("push %eflags onto stack")); + Instructions.insert("sahf",QObject::tr("store %ah register into flags")); + Instructions.insert("stc",QObject::tr("set carry flag.")); + Instructions.insert("std",QObject::tr("set direction flag.")); + Instructions.insert("sti",QObject::tr("set interrupt flag.")); + //Segment Register Instructions + Instructions.insert("lds",QObject::tr("load far pointer using %ds")); + Instructions.insert("les",QObject::tr("load far pointer using %es")); + Instructions.insert("lfs",QObject::tr("load far pointer using %fs")); + Instructions.insert("lgs",QObject::tr("load far pointer using %gs")); + Instructions.insert("lss",QObject::tr("load far pointer using %ss")); + + Instructions.insert("cpuid",QObject::tr("processor identification.")); + Instructions.insert("lea",QObject::tr("load effective address.")); + Instructions.insert("leaw",QObject::tr("load effective address.")); + Instructions.insert("leal",QObject::tr("load effective address.")); + Instructions.insert("leaq",QObject::tr("load effective address.")); + Instructions.insert("nop",QObject::tr("no operation.")); + Instructions.insert("ud2",QObject::tr("undefined instruction.")); + Instructions.insert("xlat",QObject::tr("table lookup translation.")); + Instructions.insert("xlatb",QObject::tr("table lookup translation.")); + + //Floating-Point Instructions + //Data Transfer Instructions (Floating Point) + Instructions.insert("fbld",QObject::tr("load bcd.")); + Instructions.insert("fbstp",QObject::tr("store bcd and pop.")); + Instructions.insert("fcmovb",QObject::tr("floating-point conditional move if below.")); + Instructions.insert("fcmovbe",QObject::tr("floating-point conditional move if below or equal.")); + Instructions.insert("fcmove",QObject::tr("floating-point conditional move if equal.")); + Instructions.insert("fcmovnb",QObject::tr("floating-point conditional move if not below.")); + Instructions.insert("fcmovnbe",QObject::tr("floating-point conditional move if not below or equal.")); + Instructions.insert("fcmovne",QObject::tr("floating-point conditional move if not equal.")); + Instructions.insert("fcmovnu",QObject::tr("floating-point conditional move if unordered.")); + Instructions.insert("fcmovu",QObject::tr("floating-point conditional move if unordered.")); + Instructions.insert("fild",QObject::tr("load integer.")); + Instructions.insert("fist",QObject::tr("store integer.")); + Instructions.insert("fistp",QObject::tr("store integer and pop.")); + Instructions.insert("fld",QObject::tr("load floating-point value.")); + Instructions.insert("fst",QObject::tr("store floating-point value.")); + Instructions.insert("fstp",QObject::tr("store floating-point value and pop.")); + Instructions.insert("fxch",QObject::tr("exchange registers .")); + //Basic Arithmetic Instructions (Floating-Point) + Instructions.insert("fabs",QObject::tr("absolute value.")); + Instructions.insert("fadd",QObject::tr("add floating-point.")); + Instructions.insert("faddp",QObject::tr("add floating-point and pop.")); + Instructions.insert("fchs",QObject::tr("change sign.")); + Instructions.insert("fdiv",QObject::tr("divide floating-point.")); + Instructions.insert("fdivp",QObject::tr("divide floating-point and pop.")); + Instructions.insert("fdivr",QObject::tr("divide floating-point reverse.")); + Instructions.insert("fdivrp",QObject::tr("divide floating-point reverse and pop.")); + Instructions.insert("fiadd",QObject::tr("add integer.")); + Instructions.insert("fidiv",QObject::tr("divide integer.")); + Instructions.insert("fidivr",QObject::tr("divide integer reverse.")); + Instructions.insert("fimul",QObject::tr("multiply integer.")); + Instructions.insert("fisub",QObject::tr("subtract integer.")); + Instructions.insert("fisubr",QObject::tr("subtract integer reverse.")); + Instructions.insert("fmul",QObject::tr("multiply floating-point.")); + Instructions.insert("fmulp",QObject::tr("multiply floating-point and pop.")); + Instructions.insert("fprem",QObject::tr("partial remainder.")); + Instructions.insert("fprem1",QObject::tr("ieee partial remainder.")); + Instructions.insert("frndint",QObject::tr("round to integer.")); + Instructions.insert("fscale",QObject::tr("scale by power of two.")); + Instructions.insert("fsqrt",QObject::tr("square root.")); + Instructions.insert("fsub",QObject::tr("subtract floating-point.")); + Instructions.insert("fsubp",QObject::tr("subtract floating-point and pop.")); + Instructions.insert("fsubr",QObject::tr("subtract floating-point reverse.")); + Instructions.insert("fsubrp",QObject::tr("subtract floating-point reverse and pop.")); + Instructions.insert("fxtract",QObject::tr("extract exponent and significand .")); + //Comparison Instructions (Floating-Point) + Instructions.insert("fcom",QObject::tr("compare floating-point.")); + Instructions.insert("fcomi",QObject::tr("compare floating-point and set %eflags.")); + Instructions.insert("fcomip",QObject::tr("compare floating-point, set %eflags, and pop.")); + Instructions.insert("fcomp",QObject::tr("compare floating-point and pop.")); + Instructions.insert("fcompp",QObject::tr("compare floating-point and pop twice.")); + Instructions.insert("ficom",QObject::tr("compare integer.")); + Instructions.insert("ficomp",QObject::tr("compare integer and pop.")); + Instructions.insert("ftst",QObject::tr("test floating-point (compare with 0.0).")); + Instructions.insert("fucom",QObject::tr("unordered compare floating-point.")); + Instructions.insert("fucomi",QObject::tr("unordered compare floating-point and set %eflags.")); + Instructions.insert("fucomip",QObject::tr("unordered compare floating-point, set %eflags, and pop.")); + Instructions.insert("fucomp",QObject::tr("unordered compare floating-point and pop.")); + Instructions.insert("fucompp",QObject::tr("compare floating-point and pop twice.")); + Instructions.insert("fxam",QObject::tr("examine floating-point .")); + Instructions.insert("transcendental",QObject::tr("instructions (floating-point) .")); + Instructions.insert("the",QObject::tr("transcendental instructions perform trigonometric and logarithmic operations on floating-point operands. .")); + Instructions.insert("table",QObject::tr("3–16 transcendental instructions (floating-point).")); + Instructions.insert("solaris",QObject::tr("mnemonic  description.")); + Instructions.insert("f2xm1",QObject::tr("computes 2x-1.")); + Instructions.insert("fcos",QObject::tr("cosine.")); + Instructions.insert("fpatan",QObject::tr("partial arctangent.")); + Instructions.insert("fptan",QObject::tr("partial tangent.")); + Instructions.insert("fsin",QObject::tr("sine.")); + Instructions.insert("fsincos",QObject::tr("sine and cosine.")); + Instructions.insert("fyl2x",QObject::tr("computes y * log2x.")); + Instructions.insert("fyl2xp1",QObject::tr("computes y * log2(x+1).")); + //Load Constants (Floating-Point) Instructions + Instructions.insert("fld1",QObject::tr("load +1.0.")); + Instructions.insert("fldl2e",QObject::tr("load log2e.")); + Instructions.insert("fldl2t",QObject::tr("load log210.")); + Instructions.insert("fldlg2",QObject::tr("load log102.")); + Instructions.insert("fldln2",QObject::tr("load loge2.")); + Instructions.insert("fldpi",QObject::tr("load π.")); + Instructions.insert("fldz",QObject::tr("load +0.0 .")); + //Control Instructions (Floating-Point) + Instructions.insert("fclex",QObject::tr("clear floating-point exception flags after checking for error conditions.")); + Instructions.insert("fdecstp",QObject::tr("decrement floating-point register stack pointer.")); + Instructions.insert("ffree",QObject::tr("free floating-point register.")); + Instructions.insert("fincstp",QObject::tr("increment floating-point register stack pointer.")); + Instructions.insert("finit",QObject::tr("initialize floating-point unit after checking error conditions.")); + Instructions.insert("fldcw",QObject::tr("load floating-point unit control word.")); + Instructions.insert("fldenv",QObject::tr("load floating-point unit environment.")); + Instructions.insert("fnclex",QObject::tr("clear floating-point exception flags without checking for error conditions.")); + Instructions.insert("fninit",QObject::tr("initialize floating-point unit without checking error conditions.")); + Instructions.insert("fnop",QObject::tr("floating-point no operation.")); + Instructions.insert("fnsave",QObject::tr("save floating-point unit state without checking error conditions.")); + Instructions.insert("fnstcw",QObject::tr("store floating-point unit control word without checking error conditions.")); + Instructions.insert("fnstenv",QObject::tr("store floating-point unit environment without checking error conditions.")); + Instructions.insert("fnstsw",QObject::tr("store floating-point unit status word without checking error conditions.")); + Instructions.insert("frstor",QObject::tr("restore floating-point unit state.")); + Instructions.insert("fsave",QObject::tr("save floating-point unit state after checking error conditions.")); + Instructions.insert("fstcw",QObject::tr("store floating-point unit control word after checking error conditions.")); + Instructions.insert("fstenv",QObject::tr("store floating-point unit environment after checking error conditions.")); + Instructions.insert("fstsw",QObject::tr("store floating-point unit status word after checking error conditions.")); + Instructions.insert("fwait",QObject::tr("wait for floating-point unit.")); + Instructions.insert("wait",QObject::tr("wait for floating-point unit.")); + + //SIMD State Management Instructions + Instructions.insert("fxrstor",QObject::tr("restore floating-point unit and simd state.")); + Instructions.insert("fxsave",QObject::tr("save floating-point unit and simd state.")); + + //MMX Instructions + //Data Transfer Instructions (MMX) + Instructions.insert("movd",QObject::tr("Move %1.").arg(QObject::tr("double word"))); + //Conversion Instructions (MMX) + Instructions.insert("packssdw",QObject::tr("pack doublewords into words with signed saturation.")); + Instructions.insert("packsswb",QObject::tr("pack words into bytes with signed saturation.")); + Instructions.insert("packuswb",QObject::tr("pack words into bytes with unsigned saturation.")); + Instructions.insert("punpckhbw",QObject::tr("unpack high-order bytes.")); + Instructions.insert("punpckhdq",QObject::tr("unpack high-order doublewords.")); + Instructions.insert("punpckhwd",QObject::tr("unpack high-order words.")); + Instructions.insert("punpcklbw",QObject::tr("unpack low-order bytes.")); + Instructions.insert("punpckldq",QObject::tr("unpack low-order doublewords.")); + Instructions.insert("punpcklwd",QObject::tr("unpack low-order words.")); + //Packed Arithmetic Instructions (MMX) + Instructions.insert("paddb",QObject::tr("add packed byte integers.")); + Instructions.insert("paddd",QObject::tr("add packed doubleword integers.")); + Instructions.insert("paddsb",QObject::tr("add packed signed byte integers with signed saturation.")); + Instructions.insert("paddsw",QObject::tr("add packed signed word integers with signed saturation.")); + Instructions.insert("paddusb",QObject::tr("add packed unsigned byte integers with unsigned saturation.")); + Instructions.insert("paddusw",QObject::tr("add packed unsigned word integers with unsigned saturation.")); + Instructions.insert("paddw",QObject::tr("add packed word integers.")); + Instructions.insert("pmaddwd",QObject::tr("multiply and add packed word integers.")); + Instructions.insert("pmulhw",QObject::tr("multiply packed signed word integers and store high result.")); + Instructions.insert("pmullw",QObject::tr("multiply packed signed word integers and store low result.")); + Instructions.insert("psubb",QObject::tr("subtract packed byte integers.")); + Instructions.insert("psubd",QObject::tr("subtract packed doubleword integers.")); + Instructions.insert("psubsb",QObject::tr("subtract packed signed byte integers with signed saturation.")); + Instructions.insert("psubsw",QObject::tr("subtract packed signed word integers with signed saturation.")); + Instructions.insert("psubusb",QObject::tr("subtract packed unsigned byte integers with unsigned saturation.")); + Instructions.insert("psubusw",QObject::tr("subtract packed unsigned word integers with unsigned saturation.")); + Instructions.insert("psubw",QObject::tr("subtract packed word integers.")); + //Comparison Instructions (MMX) + Instructions.insert("pcmpeqb",QObject::tr("compare packed bytes for equal.")); + Instructions.insert("pcmpeqd",QObject::tr("compare packed doublewords for equal.")); + Instructions.insert("pcmpeqw",QObject::tr("compare packed words for equal.")); + Instructions.insert("pcmpgtb",QObject::tr("compare packed signed byte integers for greater than.")); + Instructions.insert("pcmpgtd",QObject::tr("compare packed signed doubleword integers for greater than.")); + Instructions.insert("pcmpgtw",QObject::tr("compare packed signed word integers for greater than.")); + //Logical Instructions (MMX) + Instructions.insert("pand",QObject::tr("bitwise logical and.")); + Instructions.insert("pandn",QObject::tr("bitwise logical and not.")); + Instructions.insert("por",QObject::tr("bitwise logical or.")); + Instructions.insert("pxor",QObject::tr("bitwise logical xor.")); + //Shift and Rotate Instructions (MMX) + Instructions.insert("pslld",QObject::tr("shift packed doublewords left logical.")); + Instructions.insert("psllq",QObject::tr("shift packed quadword left logical.")); + Instructions.insert("psllw",QObject::tr("shift packed words left logical.")); + Instructions.insert("psrad",QObject::tr("shift packed doublewords right arithmetic.")); + Instructions.insert("psraw",QObject::tr("shift packed words right arithmetic.")); + Instructions.insert("psrld",QObject::tr("shift packed doublewords right logical.")); + Instructions.insert("psrlq",QObject::tr("shift packed quadword right logical.")); + Instructions.insert("psrlw",QObject::tr("shift packed words right logical.")); + //State Management Instructions (MMX) + Instructions.insert("emms",QObject::tr("empty mmx state.")); + + //SSE Instructions + //SIMD Single-Precision Floating-Point Instructions (SSE) + //Data Transfer Instructions (SSE) + Instructions.insert("solaris",QObject::tr("mnemonic  description.")); + Instructions.insert("movaps",QObject::tr("move four aligned packed single-precision floating-point values between xmm registers or memory.")); + Instructions.insert("movhlps",QObject::tr("move two packed single-precision floating-point values from the high quadword of an xmm register to the low quadword of another xmm register.")); + Instructions.insert("movhps",QObject::tr("move two packed single-precision floating-point values to or from the high quadword of an xmm register or memory.")); + Instructions.insert("movlhps",QObject::tr("move two packed single-precision floating-point values from the low quadword of an xmm register to the high quadword of another xmm register.")); + Instructions.insert("movlps",QObject::tr("move two packed single-precision floating-point values to or from the low quadword of an xmm register or memory.")); + Instructions.insert("movmskps",QObject::tr("extract sign mask from four packed single-precision floating-point values.")); + Instructions.insert("movss",QObject::tr("move scalar single-precision floating-point value between xmm registers or memory.")); + Instructions.insert("movups",QObject::tr("move four unaligned packed single-precision floating-point values between xmm registers or memory.")); + //Packed Arithmetic Instructions (SSE) + Instructions.insert("addps",QObject::tr("add packed single-precision floating-point values.")); + Instructions.insert("addss",QObject::tr("add scalar single-precision floating-point values.")); + Instructions.insert("divps",QObject::tr("divide packed single-precision floating-point values.")); + Instructions.insert("divss",QObject::tr("divide scalar single-precision floating-point values.")); + Instructions.insert("maxps",QObject::tr("return maximum packed single-precision floating-point values.")); + Instructions.insert("maxss",QObject::tr("return maximum scalar single-precision floating-point values.")); + Instructions.insert("minps",QObject::tr("return minimum packed single-precision floating-point values.")); + Instructions.insert("minss",QObject::tr("return minimum scalar single-precision floating-point values..")); + Instructions.insert("mulps",QObject::tr("multiply packed single-precision floating-point values.")); + Instructions.insert("mulss",QObject::tr("multiply scalar single-precision floating-point values.")); + Instructions.insert("rcpps",QObject::tr("compute reciprocals of packed single-precision floating-point values.")); + Instructions.insert("rcpss",QObject::tr("compute reciprocal of scalar single-precision floating-point values.")); + Instructions.insert("rsqrtps",QObject::tr("compute reciprocals of square roots of packed single-precision floating-point values.")); + Instructions.insert("rsqrtss",QObject::tr("compute reciprocal of square root of scalar single-precision floating-point values.")); + Instructions.insert("sqrtps",QObject::tr("compute square roots of packed single-precision floating-point values.")); + Instructions.insert("sqrtss",QObject::tr("compute square root of scalar single-precision floating-point values.")); + Instructions.insert("subps",QObject::tr("subtract packed single-precision floating-point values.")); + Instructions.insert("subss",QObject::tr("subtract scalar single-precision floating-point values.")); + //Comparison Instructions (SSE) + Instructions.insert("cmpps",QObject::tr("compare packed single-precision floating-point values.")); + Instructions.insert("cmpss",QObject::tr("compare scalar single-precision floating-point values.")); + Instructions.insert("comiss",QObject::tr("perform ordered comparison of scalar single-precision floating-point values and set flags in eflags register.")); + Instructions.insert("ucomiss",QObject::tr("perform unordered comparison of scalar single-precision floating-point values and set flags in eflags register.")); + //Logical Instructions (SSE) + Instructions.insert("andnps",QObject::tr("perform bitwise logical and not of packed single-precision floating-point values.")); + Instructions.insert("andps",QObject::tr("perform bitwise logical and of packed single-precision floating-point values.")); + Instructions.insert("orps",QObject::tr("perform bitwise logical or of packed single-precision floating-point values.")); + Instructions.insert("xorps",QObject::tr("perform bitwise logical xor of packed single-precision floating-point values.")); + //Shuffle and Unpack Instructions (SSE) + Instructions.insert("shufps",QObject::tr("shuffles values in packed single-precision floating-point operands.")); + Instructions.insert("unpckhps",QObject::tr("unpacks and interleaves the two high-order values from two single-precision floating-point operands.")); + Instructions.insert("unpcklps",QObject::tr("unpacks and interleaves the two low-order values from two single-precision floating-point operands.")); + //Conversion Instructions (SSE) + Instructions.insert("cvtpi2ps",QObject::tr("convert packed doubleword integers to packed single-precision floating-point values.")); + Instructions.insert("cvtps2pi",QObject::tr("convert packed single-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvtsi2ss",QObject::tr("convert doubleword integer to scalar single-precision floating-point value.")); + Instructions.insert("cvtss2si",QObject::tr("convert scalar single-precision floating-point value to a doubleword integer.")); + Instructions.insert("cvttps2pi",QObject::tr("convert with truncation packed single-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvttss2si",QObject::tr("convert with truncation scalar single-precision floating-point value to scalar doubleword integer.")); + //MXCSR State Management Instructions (SSE) + Instructions.insert("ldmxcsr",QObject::tr("load %mxcsr register.")); + Instructions.insert("stmxcsr",QObject::tr("save %mxcsr register state.")); + //64–Bit SIMD Integer Instructions (SSE) + Instructions.insert("pavgb",QObject::tr("compute average of packed unsigned byte integers.")); + Instructions.insert("pavgw",QObject::tr("compute average of packed unsigned byte integers.")); + Instructions.insert("pextrw",QObject::tr("extract word.")); + Instructions.insert("pinsrw",QObject::tr("insert word.")); + Instructions.insert("pmaxsw",QObject::tr("maximum of packed signed word integers.")); + Instructions.insert("pmaxub",QObject::tr("maximum of packed unsigned byte integers.")); + Instructions.insert("pminsw",QObject::tr("minimum of packed signed word integers.")); + Instructions.insert("pminub",QObject::tr("minimum of packed unsigned byte integers.")); + Instructions.insert("pmovmskb",QObject::tr("move byte mask.")); + Instructions.insert("pmulhuw",QObject::tr("multiply packed unsigned integers and store high result.")); + Instructions.insert("psadbw",QObject::tr("compute sum of absolute differences.")); + Instructions.insert("pshufw",QObject::tr("shuffle packed integer word in mmx register.")); + //Miscellaneous Instructions (SSE) + Instructions.insert("maskmovq",QObject::tr("non-temporal store of selected bytes from an mmx register into memory.")); + Instructions.insert("movntps",QObject::tr("non-temporal store of four packed single-precision floating-point values from an xmm register into memory.")); + Instructions.insert("movntq",QObject::tr("non-temporal store of quadword from an mmx register into memory.")); + Instructions.insert("prefetchnta",QObject::tr("prefetch data into non-temporal cache structure and into a location close to the processor.")); + Instructions.insert("prefetcht0",QObject::tr("prefetch data into all levels of the cache hierarchy.")); + Instructions.insert("prefetcht1",QObject::tr("prefetch data into level 2 cache and higher.")); + Instructions.insert("prefetcht2",QObject::tr("prefetch data into level 2 cache and higher.")); + Instructions.insert("sfence",QObject::tr("serialize store operations.")); + + //SSE2 Instructions + //SSE2 Packed and Scalar Double-Precision Floating-Point Instructions + //SSE2 Data Movement Instructions + Instructions.insert("movapd",QObject::tr("move two aligned packed double-precision floating-point values between xmm registers and memory.")); + Instructions.insert("movhpd",QObject::tr("move high packed double-precision floating-point value to or from the high quadword of an xmm register and memory.")); + Instructions.insert("movlpd",QObject::tr("move low packed single-precision floating-point value to or from the low quadword of an xmm register and memory.")); + Instructions.insert("movmskpd",QObject::tr("extract sign mask from two packed double-precision floating-point values.")); + Instructions.insert("movsd",QObject::tr("move scalar double-precision floating-point value between xmm registers and memory..")); + Instructions.insert("movupd",QObject::tr("move two unaligned packed double-precision floating-point values between xmm registers and memory.")); + //SSE2 Packed Arithmetic Instructions + Instructions.insert("addpd",QObject::tr("add packed double-precision floating-point values.")); + Instructions.insert("addsd",QObject::tr("add scalar double-precision floating-point values.")); + Instructions.insert("divpd",QObject::tr("divide packed double-precision floating-point values.")); + Instructions.insert("divsd",QObject::tr("divide scalar double-precision floating-point values.")); + Instructions.insert("maxpd",QObject::tr("return maximum packed double-precision floating-point values.")); + Instructions.insert("maxsd",QObject::tr("return maximum scalar double-precision floating-point value.")); + Instructions.insert("minpd",QObject::tr("return minimum packed double-precision floating-point values.")); + Instructions.insert("minsd",QObject::tr("return minimum scalar double-precision floating-point value.")); + Instructions.insert("mulpd",QObject::tr("multiply packed double-precision floating-point values.")); + Instructions.insert("mulsd",QObject::tr("multiply scalar double-precision floating-point values.")); + Instructions.insert("sqrtpd",QObject::tr("compute packed square roots of packed double-precision floating-point values.")); + Instructions.insert("sqrtsd",QObject::tr("compute scalar square root of scalar double-precision floating-point value.")); + Instructions.insert("subpd",QObject::tr("subtract packed double-precision floating-point values.")); + Instructions.insert("subsd",QObject::tr("subtract scalar double-precision floating-point values.")); + //SSE2 Logical Instructions + Instructions.insert("andnpd",QObject::tr("perform bitwise logical and not of packed double-precision floating-point values.")); + Instructions.insert("andpd",QObject::tr("perform bitwise logical and of packed double-precision floating-point values.")); + Instructions.insert("orpd",QObject::tr("perform bitwise logical or of packed double-precision floating-point values.")); + Instructions.insert("xorpd",QObject::tr("perform bitwise logical xor of packed double-precision floating-point values.")); + //SSE2 Compare Instructions + Instructions.insert("cmppd",QObject::tr("compare packed double-precision floating-point values.")); + Instructions.insert("cmpsd",QObject::tr("compare scalar double-precision floating-point values.")); + Instructions.insert("comisd",QObject::tr("perform ordered comparison of scalar double-precision floating-point values and set flags in eflags register.")); + Instructions.insert("ucomisd",QObject::tr("perform unordered comparison of scalar double-precision floating-point values and set flags in eflags register.")); + //SSE2 Shuffle and Unpack Instructions + Instructions.insert("shufpd",QObject::tr("shuffle values in packed double-precision floating-point operands.")); + Instructions.insert("unpckhpd",QObject::tr("unpack and interleave the high values from two packed double-precision floating-point operands.")); + Instructions.insert("unpcklpd",QObject::tr("unpack and interleave the low values from two packed double-precision floating-point operands.")); + //SSE2 Conversion Instructions + Instructions.insert("cvtdq2pd",QObject::tr("convert packed doubleword integers to packed double-precision floating-point values.")); + Instructions.insert("cvtpd2dq",QObject::tr("convert packed double-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvtpd2pi",QObject::tr("convert packed double-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvtpd2ps",QObject::tr("convert packed double-precision floating-point values to packed single-precision floating-point values.")); + Instructions.insert("cvtpi2pd",QObject::tr("convert packed doubleword integers to packed double-precision floating-point values.")); + Instructions.insert("cvtps2pd",QObject::tr("convert packed single-precision floating-point values to packed double-precision floating-point values.")); + Instructions.insert("cvtsd2si",QObject::tr("convert scalar double-precision floating-point values to a doubleword integer.")); + Instructions.insert("cvtsd2ss",QObject::tr("convert scalar double-precision floating-point values to scalar single-precision floating-point values.")); + Instructions.insert("cvtsi2sd",QObject::tr("convert doubleword integer to scalar double-precision floating-point value.")); + Instructions.insert("cvtss2sd",QObject::tr("convert scalar single-precision floating-point values to scalar double-precision floating-point values.")); + Instructions.insert("cvttpd2dq",QObject::tr("convert with truncation packed double-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvttpd2pi",QObject::tr("convert with truncation packed double-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvttsd2si",QObject::tr("convert with truncation scalar double-precision floating-point values to scalar doubleword integers.")); + //SSE2 Packed Single-Precision Floating-Point Instructions + Instructions.insert("cvtdq2ps",QObject::tr("convert packed doubleword integers to packed single-precision floating-point values.")); + Instructions.insert("cvtps2dq",QObject::tr("convert packed single-precision floating-point values to packed doubleword integers.")); + Instructions.insert("cvttps2dq",QObject::tr("convert with truncation packed single-precision floating-point values to packed doubleword integers.")); + //SSE2 128–Bit SIMD Integer Instructions + Instructions.insert("movdq2q",QObject::tr("move quadword integer from xmm to mmx registers.")); + Instructions.insert("movdqa",QObject::tr("move aligned double quadword.")); + Instructions.insert("movdqu",QObject::tr("move unaligned double quadword.")); + Instructions.insert("movq2dq",QObject::tr("move quadword integer from mmx to xmm registers.")); + Instructions.insert("paddq",QObject::tr("add packed quadword integers.")); + Instructions.insert("pmuludq",QObject::tr("multiply packed unsigned doubleword integers.")); + Instructions.insert("pshufd",QObject::tr("shuffle packed doublewords.")); + Instructions.insert("pshufhw",QObject::tr("shuffle packed high words.")); + Instructions.insert("pshuflw",QObject::tr("shuffle packed low words.")); + Instructions.insert("pslldq",QObject::tr("shift double quadword left logical.")); + Instructions.insert("psrldq",QObject::tr("shift double quadword right logical.")); + Instructions.insert("psubq",QObject::tr("subtract packed quadword integers.")); + Instructions.insert("punpckhqdq",QObject::tr("unpack high quadwords.")); + Instructions.insert("punpcklqdq",QObject::tr("unpack low quadwords.")); + //SSE2 Miscellaneous Instructions + Instructions.insert("clflush",QObject::tr("flushes and invalidates a memory operand and its associated cache line from all levels of the processor's cache hierarchy.")); + Instructions.insert("lfence",QObject::tr("serializes load operations.")); + Instructions.insert("maskmovdqu",QObject::tr("non-temporal store of selected bytes from an xmm register into memory.")); + Instructions.insert("mfence",QObject::tr("serializes load and store operations.")); + Instructions.insert("movntdq",QObject::tr("non-temporal store of double quadword from an xmm register into memory.")); + Instructions.insert("movnti",QObject::tr("non-temporal store of a doubleword from a general-purpose register into memory.")); + Instructions.insert("movntpd",QObject::tr("non-temporal store of two packed double-precision floating-point values from an xmm register into memory.")); + Instructions.insert("pause",QObject::tr("improves the performance of spin-wait loops.")); + + InstructionNames=QSet(Instructions.keyBegin(),Instructions.keyEnd()); + } +} + bool ASMSyntaxer::eol() const { return mTokenID == TokenId::Null; @@ -618,7 +1268,7 @@ void ASMSyntaxer::resetState() QSet ASMSyntaxer::keywords() { if (mKeywordsCache.isEmpty()) { - mKeywordsCache=Instructions; + mKeywordsCache=InstructionNames; if (!isATT()) { mKeywordsCache.unite(Directives); mKeywordsCache.unite(Registers); diff --git a/libs/qsynedit/qsynedit/syntaxer/asm.h b/libs/qsynedit/qsynedit/syntaxer/asm.h index c3f6f682..f5b73b72 100644 --- a/libs/qsynedit/qsynedit/syntaxer/asm.h +++ b/libs/qsynedit/qsynedit/syntaxer/asm.h @@ -53,7 +53,8 @@ public: const PTokenAttribute &labelAttribute() const; const PTokenAttribute ®isterAttribute() const; - static const QSet Instructions; + static QMap Instructions; + static QSet InstructionNames; static const QSet Registers; static const QSet ATTRegisters; static const QSet Directives; @@ -91,6 +92,7 @@ private: void SymbolProc(); void UnknownProc(); bool isIdentStartChar(const QChar& ch); + static void initData(); // SynHighlighter interface public: diff --git a/libs/qsynedit/qsynedit_zh_CN.ts b/libs/qsynedit/qsynedit_zh_CN.ts new file mode 100644 index 00000000..d0cb5977 --- /dev/null +++ b/libs/qsynedit/qsynedit_zh_CN.ts @@ -0,0 +1,2980 @@ + + + + + QObject + + + Can't open file '%1' to write! + 无法写入文件"%1"! + + + + Failed to write data. + 写入数据失败。 + + + + + + byte swap. + + + + + convert %1 to %2. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + byte + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + word + + + + + + + + + + convert %1 in %2 to %3 in %4. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + double word + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + quad word + + + + + Conditional move if equal + 相等时移动 + + + + Conditional move if zero. + + + + + + Conditional move if not equal. + + + + + Conditional move if above. + + + + + Conditional move if not below or equal. + + + + + Conditional move if above or equal. + + + + + Conditional move if not below. + + + + + Conditional move if below. + + + + + Conditional move if not above or equal. + + + + + Conditional move if below or equal. + + + + + Conditional move if not above. + + + + + Conditional move if greater. + + + + + Conditional move if not less or equal. + + + + + Conditional move if greater or equal. + + + + + Conditional move if not less. + + + + + Conditional move if less. + + + + + Conditional move if not greater or equal. + + + + + Conditional move if less or equal. + + + + + Conditional move if not greater. + + + + + Conditional move if carry. + + + + + Conditional move if not carry. + + + + + Conditional move if overflow. + + + + + Conditional move if not overflow. + + + + + Conditional move if sign (negative). + + + + + Conditional move if not sign (non-negative). + + + + + Conditional move if parity. + + + + + Conditional move if parity even. + + + + + Conditional move if not parity. + + + + + Conditional move if parity odd. + + + + + Compare and exchange. + + + + + Compare and exchange 8 bytes. + + + + + + oct word + + + + + move data between immediate values, general purpose registers, segment registers, and memory. + + + + + move %1 data between immediate values, general purpose registers, segment registers, and memory. + + + + + + + + Move %1. + + + + + move immediate value to register. + + + + + + + + move immediate %1 value to register. + + + + + move immediate value to register %al/%ax/%eax/%rax. + + + + + + + + move immediate %1 value to register %2. + + + + + Move and sign extension. + + + + + + + + + + Move sign-extended %1 to %2. + + + + + Move with zero extension. + + + + + + + + + Move zero-extended %1 to %2. + + + + + Pop stack. + + + + + + + Pop %1 off stack. + + + + + + + Pop general-purpose registers from stack. + + + + + Push stack. + + + + + + + Push %1 onto stack. + + + + + + + Push general-purpose registers onto stack. + + + + + + + + + Exchange and add %1. + + + + + + + + + Exchange %1. + + + + + add unsigned %1 with carry. + + + + + + + + + + + + + + + + + + + + + + + + integer + + + + + add unsigned %1 with overflow. + + + + + + + + + add %1 with carry. + + + + + + + + + add %1. + + + + + compare. + + + + + + + + compare %1. + + + + + decrement by 1. + + + + + + + + decrement %1 by 1. + + + + + + + + + unsigned %1 divide. + + + + + + + + + signed %1 divide. + + + + + + + + + signed %1 multiply. + + + + + increment by 1. + + + + + + + + increment %1 by 1. + + + + + + + + + unsigned %1 multiply. + + + + + Two's complement negation. + + + + + + + + Replace the value of the %1 with its two's complement + + + + + + + + + subtract %1 with borrow. + + + + + + + + + subtract %1. + + + + + ascii adjust after addition. + + + + + ascii adjust before division. + + + + + ascii adjust after multiplication. + + + + + ascii adjust after subtraction. + + + + + decimal adjust after addition. + + + + + decimal adjust after subtraction. + + + + + bitwise logical AND. + + + + + + + + bitwise logical AND on %1 values. + + + + + bitwise logical NOT. + + + + + + + + bitwise logical NOT on %1 value. + + + + + bitwise logical OR. + + + + + + + + bitwise logical OR on %1 values. + + + + + bitwise logical XOR. + + + + + + + + bitwise logical XOR on %1 values. + + + + + + + + + rotate %1 through carry left. + + + + + + + + + rotate %1 through carry right. + + + + + + + + + rotate %1 left. + + + + + + + + + rotate %1 right. + + + + + + + + + shift %1 arithmetic left. + + + + + + + + + shift %1 arithmetic right. + + + + + + + + + shift %1 logical left. + + + + + + + + + shift %1 logical right. + + + + + + + + + shift %1 left double. + + + + + + + + + shift %1 right double. + + + + + bit scan forward. + + + + + + + bit scan forward in the %1 operand. + + + + + bit scan reserve. + + + + + + + bit scan reserve in the %1 operand. + + + + + bit test. + + + + + + + bit test in the %1 operand. + + + + + bit test and complement. + + + + + + + bit test and complement in the %1 operand. + + + + + bit test and reset. + + + + + + + bit test and reset in the %1 operand. + + + + + bit test and set. + + + + + + + bit test and set in the %1 operand. + + + + + set byte if above. + + + + + set byte if above or equal. + + + + + set byte if below. + + + + + set byte if below or equal. + + + + + set byte if carry. + + + + + set byte if equal. + + + + + set byte if greater. + + + + + set byte if greater or equal. + + + + + set byte if less. + + + + + set byte if less or equal. + + + + + set byte if not above. + + + + + set byte if not above or equal. + + + + + set byte if not below. + + + + + set byte if not below or equal. + + + + + set byte if not carry. + + + + + set byte if not equal. + + + + + set byte if not greater. + + + + + set byte if not greater or equal. + + + + + set byte if not less. + + + + + set byte if not less or equal. + + + + + set byte if not overflow. + + + + + set byte if not parity. + + + + + set byte if not sign (non-negative). + + + + + set byte if not zero. + + + + + set byte if overflow. + + + + + set byte if parity. + + + + + set byte if parity even. + + + + + set byte if parity odd. + + + + + set byte if sign (negative). + + + + + set byte if zero. + + + + + logical compare. + + + + + + + + logical compare %1. + + + + + detect value out of range. + + + + + + detect %1 value out of range. + + + + + call procedure. + + + + + high-level procedure entry. + + + + + software interrupt. + + + + + interrupt on overflow. + + + + + return from interrupt. + + + + + jump if above. + + + + + jump if above or equal. + + + + + jump if below. + + + + + jump if below or equal. + + + + + jump if carry. + + + + + jump register %cx zero + + + + + jump if equal. + + + + + jump register %ecx zero + + + + + jump if greater. + + + + + jump if greater or equal. + + + + + jump if less. + + + + + jump if less or equal. + + + + + jump. + + + + + jump if not above or equal. + + + + + jump if not below. + + + + + jump if not below or equal. + + + + + jump if not carry. + + + + + jump if not equal. + + + + + jump if not greater. + + + + + jump if not greater or equal. + + + + + jump if not less. + + + + + jump if not less or equal. + + + + + jump if not overflow. + + + + + jump if not parity. + + + + + jump if not sign (non-negative). + + + + + jump if not zero. + + + + + jump if overflow. + + + + + jump if parity. + + + + + jump if parity even. + + + + + jump if parity odd. + + + + + jump if sign (negative). + + + + + jump if zero. + + + + + call far procedure. + + + + + high-level procedure exit. + + + + + loop with %ecx counter + + + + + loop with %ecx and equal + + + + + loop with %ecx and not equal + + + + + loop with %ecx and not zero + + + + + loop with %ecx and zero + + + + + return from far procedure. + + + + + return. + + + + + compare string. + + + + + + + + compare %1 string. + + + + + load string. + + + + + + + + load %1 string. + + + + + move string. + + + + + + + + move %1 string. + + + + + repeat while %ecx not zero + + + + + repeat while not equal. + + + + + repeat while not zero. + + + + + repeat while equal. + + + + + repeat while zero. + + + + + scan string. + + + + + + + + scan %1 string. + + + + + store string. + + + + + + + + store %1 string. + + + + + read from a port. + + + + + input string from a port. + + + + + input byte string from port. + + + + + input double word string from port. + + + + + input word string from port. + + + + + write to a port. + + + + + output string to port. + + + + + output byte string to port. + + + + + output double word string to port. + + + + + output word string to port. + + + + + clear carry flag. + + + + + clear direction flag. + + + + + clear interrupt flag. + + + + + complement carry flag. + + + + + load flags into %ah register + + + + + + pop %eflags from stack + + + + + + push %eflags onto stack + + + + + store %ah register into flags + + + + + set carry flag. + + + + + set direction flag. + + + + + set interrupt flag. + + + + + load far pointer using %ds + + + + + load far pointer using %es + + + + + load far pointer using %fs + + + + + load far pointer using %gs + + + + + load far pointer using %ss + + + + + processor identification. + + + + + + + + load effective address. + + + + + no operation. + + + + + undefined instruction. + + + + + + table lookup translation. + + + + + load bcd. + + + + + store bcd and pop. + + + + + floating-point conditional move if below. + + + + + floating-point conditional move if below or equal. + + + + + floating-point conditional move if equal. + + + + + floating-point conditional move if not below. + + + + + floating-point conditional move if not below or equal. + + + + + floating-point conditional move if not equal. + + + + + + floating-point conditional move if unordered. + + + + + load integer. + + + + + store integer. + + + + + store integer and pop. + + + + + load floating-point value. + + + + + store floating-point value. + + + + + store floating-point value and pop. + + + + + exchange registers . + + + + + absolute value. + + + + + add floating-point. + + + + + add floating-point and pop. + + + + + change sign. + + + + + divide floating-point. + + + + + divide floating-point and pop. + + + + + divide floating-point reverse. + + + + + divide floating-point reverse and pop. + + + + + add integer. + + + + + divide integer. + + + + + divide integer reverse. + + + + + multiply integer. + + + + + subtract integer. + + + + + subtract integer reverse. + + + + + multiply floating-point. + + + + + multiply floating-point and pop. + + + + + partial remainder. + + + + + ieee partial remainder. + + + + + round to integer. + + + + + scale by power of two. + + + + + square root. + + + + + subtract floating-point. + + + + + subtract floating-point and pop. + + + + + subtract floating-point reverse. + + + + + subtract floating-point reverse and pop. + + + + + extract exponent and significand . + + + + + compare floating-point. + + + + + compare floating-point and set %eflags. + + + + + compare floating-point, set %eflags, and pop. + + + + + compare floating-point and pop. + + + + + + compare floating-point and pop twice. + + + + + compare integer. + + + + + compare integer and pop. + + + + + test floating-point (compare with 0.0). + + + + + unordered compare floating-point. + + + + + unordered compare floating-point and set %eflags. + + + + + unordered compare floating-point, set %eflags, and pop. + + + + + unordered compare floating-point and pop. + + + + + examine floating-point . + + + + + instructions (floating-point) . + + + + + transcendental instructions perform trigonometric and logarithmic operations on floating-point operands. . + + + + + 3–16 transcendental instructions (floating-point). + + + + + + mnemonic  description. + + + + + computes 2x-1. + + + + + cosine. + + + + + partial arctangent. + + + + + partial tangent. + + + + + sine. + + + + + sine and cosine. + + + + + computes y * log2x. + + + + + computes y * log2(x+1). + + + + + load +1.0. + + + + + load log2e. + + + + + load log210. + + + + + load log102. + + + + + load loge2. + + + + + load π. + + + + + load +0.0 . + + + + + clear floating-point exception flags after checking for error conditions. + + + + + decrement floating-point register stack pointer. + + + + + free floating-point register. + + + + + increment floating-point register stack pointer. + + + + + initialize floating-point unit after checking error conditions. + + + + + load floating-point unit control word. + + + + + load floating-point unit environment. + + + + + clear floating-point exception flags without checking for error conditions. + + + + + initialize floating-point unit without checking error conditions. + + + + + floating-point no operation. + + + + + save floating-point unit state without checking error conditions. + + + + + store floating-point unit control word without checking error conditions. + + + + + store floating-point unit environment without checking error conditions. + + + + + store floating-point unit status word without checking error conditions. + + + + + restore floating-point unit state. + + + + + save floating-point unit state after checking error conditions. + + + + + store floating-point unit control word after checking error conditions. + + + + + store floating-point unit environment after checking error conditions. + + + + + store floating-point unit status word after checking error conditions. + + + + + + wait for floating-point unit. + + + + + restore floating-point unit and simd state. + + + + + save floating-point unit and simd state. + + + + + pack doublewords into words with signed saturation. + + + + + pack words into bytes with signed saturation. + + + + + pack words into bytes with unsigned saturation. + + + + + unpack high-order bytes. + + + + + unpack high-order doublewords. + + + + + unpack high-order words. + + + + + unpack low-order bytes. + + + + + unpack low-order doublewords. + + + + + unpack low-order words. + + + + + add packed byte integers. + + + + + add packed doubleword integers. + + + + + add packed signed byte integers with signed saturation. + + + + + add packed signed word integers with signed saturation. + + + + + add packed unsigned byte integers with unsigned saturation. + + + + + add packed unsigned word integers with unsigned saturation. + + + + + add packed word integers. + + + + + multiply and add packed word integers. + + + + + multiply packed signed word integers and store high result. + + + + + multiply packed signed word integers and store low result. + + + + + subtract packed byte integers. + + + + + subtract packed doubleword integers. + + + + + subtract packed signed byte integers with signed saturation. + + + + + subtract packed signed word integers with signed saturation. + + + + + subtract packed unsigned byte integers with unsigned saturation. + + + + + subtract packed unsigned word integers with unsigned saturation. + + + + + subtract packed word integers. + + + + + compare packed bytes for equal. + + + + + compare packed doublewords for equal. + + + + + compare packed words for equal. + + + + + compare packed signed byte integers for greater than. + + + + + compare packed signed doubleword integers for greater than. + + + + + compare packed signed word integers for greater than. + + + + + bitwise logical and. + + + + + bitwise logical and not. + + + + + bitwise logical or. + + + + + bitwise logical xor. + + + + + shift packed doublewords left logical. + + + + + shift packed quadword left logical. + + + + + shift packed words left logical. + + + + + shift packed doublewords right arithmetic. + + + + + shift packed words right arithmetic. + + + + + shift packed doublewords right logical. + + + + + shift packed quadword right logical. + + + + + shift packed words right logical. + + + + + empty mmx state. + + + + + move four aligned packed single-precision floating-point values between xmm registers or memory. + + + + + move two packed single-precision floating-point values from the high quadword of an xmm register to the low quadword of another xmm register. + + + + + move two packed single-precision floating-point values to or from the high quadword of an xmm register or memory. + + + + + move two packed single-precision floating-point values from the low quadword of an xmm register to the high quadword of another xmm register. + + + + + move two packed single-precision floating-point values to or from the low quadword of an xmm register or memory. + + + + + extract sign mask from four packed single-precision floating-point values. + + + + + move scalar single-precision floating-point value between xmm registers or memory. + + + + + move four unaligned packed single-precision floating-point values between xmm registers or memory. + + + + + add packed single-precision floating-point values. + + + + + add scalar single-precision floating-point values. + + + + + divide packed single-precision floating-point values. + + + + + divide scalar single-precision floating-point values. + + + + + return maximum packed single-precision floating-point values. + + + + + return maximum scalar single-precision floating-point values. + + + + + return minimum packed single-precision floating-point values. + + + + + return minimum scalar single-precision floating-point values.. + + + + + multiply packed single-precision floating-point values. + + + + + multiply scalar single-precision floating-point values. + + + + + compute reciprocals of packed single-precision floating-point values. + + + + + compute reciprocal of scalar single-precision floating-point values. + + + + + compute reciprocals of square roots of packed single-precision floating-point values. + + + + + compute reciprocal of square root of scalar single-precision floating-point values. + + + + + compute square roots of packed single-precision floating-point values. + + + + + compute square root of scalar single-precision floating-point values. + + + + + subtract packed single-precision floating-point values. + + + + + subtract scalar single-precision floating-point values. + + + + + compare packed single-precision floating-point values. + + + + + compare scalar single-precision floating-point values. + + + + + perform ordered comparison of scalar single-precision floating-point values and set flags in eflags register. + + + + + perform unordered comparison of scalar single-precision floating-point values and set flags in eflags register. + + + + + perform bitwise logical and not of packed single-precision floating-point values. + + + + + perform bitwise logical and of packed single-precision floating-point values. + + + + + perform bitwise logical or of packed single-precision floating-point values. + + + + + perform bitwise logical xor of packed single-precision floating-point values. + + + + + shuffles values in packed single-precision floating-point operands. + + + + + unpacks and interleaves the two high-order values from two single-precision floating-point operands. + + + + + unpacks and interleaves the two low-order values from two single-precision floating-point operands. + + + + + + convert packed doubleword integers to packed single-precision floating-point values. + + + + + + convert packed single-precision floating-point values to packed doubleword integers. + + + + + convert doubleword integer to scalar single-precision floating-point value. + + + + + convert scalar single-precision floating-point value to a doubleword integer. + + + + + + convert with truncation packed single-precision floating-point values to packed doubleword integers. + + + + + convert with truncation scalar single-precision floating-point value to scalar doubleword integer. + + + + + load %mxcsr register. + + + + + save %mxcsr register state. + + + + + + compute average of packed unsigned byte integers. + + + + + extract word. + + + + + insert word. + + + + + maximum of packed signed word integers. + + + + + maximum of packed unsigned byte integers. + + + + + minimum of packed signed word integers. + + + + + minimum of packed unsigned byte integers. + + + + + move byte mask. + + + + + multiply packed unsigned integers and store high result. + + + + + compute sum of absolute differences. + + + + + shuffle packed integer word in mmx register. + + + + + non-temporal store of selected bytes from an mmx register into memory. + + + + + non-temporal store of four packed single-precision floating-point values from an xmm register into memory. + + + + + non-temporal store of quadword from an mmx register into memory. + + + + + prefetch data into non-temporal cache structure and into a location close to the processor. + + + + + prefetch data into all levels of the cache hierarchy. + + + + + + prefetch data into level 2 cache and higher. + + + + + serialize store operations. + + + + + move two aligned packed double-precision floating-point values between xmm registers and memory. + + + + + move high packed double-precision floating-point value to or from the high quadword of an xmm register and memory. + + + + + move low packed single-precision floating-point value to or from the low quadword of an xmm register and memory. + + + + + extract sign mask from two packed double-precision floating-point values. + + + + + move scalar double-precision floating-point value between xmm registers and memory.. + + + + + move two unaligned packed double-precision floating-point values between xmm registers and memory. + + + + + add packed double-precision floating-point values. + + + + + add scalar double-precision floating-point values. + + + + + divide packed double-precision floating-point values. + + + + + divide scalar double-precision floating-point values. + + + + + return maximum packed double-precision floating-point values. + + + + + return maximum scalar double-precision floating-point value. + + + + + return minimum packed double-precision floating-point values. + + + + + return minimum scalar double-precision floating-point value. + + + + + multiply packed double-precision floating-point values. + + + + + multiply scalar double-precision floating-point values. + + + + + compute packed square roots of packed double-precision floating-point values. + + + + + compute scalar square root of scalar double-precision floating-point value. + + + + + subtract packed double-precision floating-point values. + + + + + subtract scalar double-precision floating-point values. + + + + + perform bitwise logical and not of packed double-precision floating-point values. + + + + + perform bitwise logical and of packed double-precision floating-point values. + + + + + perform bitwise logical or of packed double-precision floating-point values. + + + + + perform bitwise logical xor of packed double-precision floating-point values. + + + + + compare packed double-precision floating-point values. + + + + + compare scalar double-precision floating-point values. + + + + + perform ordered comparison of scalar double-precision floating-point values and set flags in eflags register. + + + + + perform unordered comparison of scalar double-precision floating-point values and set flags in eflags register. + + + + + shuffle values in packed double-precision floating-point operands. + + + + + unpack and interleave the high values from two packed double-precision floating-point operands. + + + + + unpack and interleave the low values from two packed double-precision floating-point operands. + + + + + + convert packed doubleword integers to packed double-precision floating-point values. + + + + + + convert packed double-precision floating-point values to packed doubleword integers. + + + + + convert packed double-precision floating-point values to packed single-precision floating-point values. + + + + + convert packed single-precision floating-point values to packed double-precision floating-point values. + + + + + convert scalar double-precision floating-point values to a doubleword integer. + + + + + convert scalar double-precision floating-point values to scalar single-precision floating-point values. + + + + + convert doubleword integer to scalar double-precision floating-point value. + + + + + convert scalar single-precision floating-point values to scalar double-precision floating-point values. + + + + + + convert with truncation packed double-precision floating-point values to packed doubleword integers. + + + + + convert with truncation scalar double-precision floating-point values to scalar doubleword integers. + + + + + move quadword integer from xmm to mmx registers. + + + + + move aligned double quadword. + + + + + move unaligned double quadword. + + + + + move quadword integer from mmx to xmm registers. + + + + + add packed quadword integers. + + + + + multiply packed unsigned doubleword integers. + + + + + shuffle packed doublewords. + + + + + shuffle packed high words. + + + + + shuffle packed low words. + + + + + shift double quadword left logical. + + + + + shift double quadword right logical. + + + + + subtract packed quadword integers. + + + + + unpack high quadwords. + + + + + unpack low quadwords. + + + + + flushes and invalidates a memory operand and its associated cache line from all levels of the processor's cache hierarchy. + + + + + serializes load operations. + + + + + non-temporal store of selected bytes from an xmm register into memory. + + + + + serializes load and store operations. + + + + + non-temporal store of double quadword from an xmm register into memory. + + + + + non-temporal store of a doubleword from a general-purpose register into memory. + + + + + non-temporal store of two packed double-precision floating-point values from an xmm register into memory. + + + + + improves the performance of spin-wait loops. + + + + + QSynedit::Document + + + Can't open file '%1' for read! + 无法读取文件"%1". + + + + + Can't load codec '%1'! + 无法加载字符编码"%1"! + + + + Can't open file '%1' for save! + 无法保存文件"%1"! + + + + Data not correctly writed to file '%1'. + 数据未能正确写入文件"%1"。 + + + + QSynedit::QSynEdit + + + The syntaxer seems to be in an infinite loop + The highlighter seems to be in an infinite loop + 代码分析器似乎死循环了。 + + +