內容簡介
asm-brush 是我所寫的一個小型 WordPress 外掛,專門為那些仍在使用並且想要分享組合語言原始碼的恐龍(像我)而設計。它是一個刷子,配合 SyntaxHighlighter Evolved https://wordpress.org/extend/plugins/syntaxhighlighter/ WordPress plugin(由 Viper 編寫),本身基於 Alex Gorbatchev 的 SyntaxHighlighter JavaScript package。若您希望使用此刷子,您需要安裝 asm-brush 和 SyntaxHighlighter Evolved 外掛。
要使您的組合語言程式碼突顯顯示,只需在 [assembly] 和 [/assembly] 或 [x86] 和 [/x86] 標籤之間包裹它即可。
此刷子可偵測並對下列元素套用不同風格:
寄存器
組合語言使用者指令
組合語言系統指令
FPU 指令
多媒體指令
MASM 特定指令和指令
數字(十進位和十六進位)
IDA (The Interactive Disassembler) 標籤
您可以通過編輯 CSS 文件輕鬆自訂風格。
外掛標籤
開發者團隊
原文外掛簡介
asm-brush is small WordPress plugin I wrote and dedicated to the dinosaurs (like me) who still use and want to share assembly language source code. It is a brush designed to work with the SyntaxHighlighter Evolved https://wordpress.org/extend/plugins/syntaxhighlighter/ WordPress plugin (written by Viper), itself based on the SyntaxHighlighter JavaScript package by Alex Gorbatchev. To be able to use this brush, you will need the asm-brush as well as the SyntaxHighlighter Evolved plugins installed.
To highlight your assembly code, simply wrap it between [assembly] and [/assembly] or [x86] and [/x86] tags.
The brush detects and applies different styles to the following elements:
Registers
Assembly language user instructions
Assembly language system instructions
FPU instructions
Multimedia instructions
MASM specific directives & instructions
Numbers (decimal and hexadecimal)
IDA (The Interactive Disassembler) labels
The styles are easily customizable by editing the CSS file.
