[wordpress插件] asm-brush组装刷

wordpress 插件 文章 2020-02-22 01:10 535 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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.

asm-brush是我写的一个小型WordPress插件,专用于仍在使用并希望共享汇编语言源代码的恐龙(如我)。

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.

它是一种刷子,旨在与SyntaxHighlighter Evolved https://wordpress.org/extend/plugins/syntaxhighlighter/ WordPress插件(由Viper编写)一起使用,该插件本身基于Alex Gorbatchev的SyntaxHighlighter JavaScript程序包。

To be able to use this brush, you will need the asm-brush as well as the SyntaxHighlighter Evolved plugins installed.

为了能够使用此笔刷,您将需要安装asm-brush以及SyntaxHighlighter Evolved插件。

To highlight your assembly code, simply wrap it between [assembly] and [/assembly] or [x86] and [/x86] tags.

要突出显示汇编代码,只需将其包装在[assembly]和[/ assembly]或[x86]和[/ x86]标签之间。

The brush detects and applies different styles to the following elements:

画笔检测以下元素并将其应用不同的样式:

    • Registers
    • 注册

    • Assembly language user instructions
    • 汇编语言用户说明

    • Assembly language system instructions
    • 汇编语言系统说明

    • FPU instructions
    • FPU指令

    • Multimedia instructions
    • 多媒体说明

    • MASM specific directives & instructions
    • MASM特定指令和说明

    • Numbers (decimal and hexadecimal)
    • 数字(十进制和十六进制)

    • IDA (The Interactive Disassembler) labels
    • IDA(交互式反汇编程序)标签

    The styles are easily customizable by editing the CSS file.

    可以通过编辑CSS文件轻松自定义样式。

安装步骤

Uploading The Plugin

上传插件

Extract all files from the ZIP file, making sure to keep the file/folder structure intact, and then upload it to /wp-content/plugins/.

从ZIP文件中提取所有文件,确保保持文件/文件夹结构完整,然后将其上传到/ wp-content / plugins/。

Plugin Usage

插件使用情况

    • Have the “SyntaxHighlighter Evolved” plugin installed
    • 已安装“ SyntaxHighlighter Evolved”插件

    • Wrap your assembly language code between [assembly] and [/assembly] or [x86] and [/x86]
    • 在[assembly]和[/ assembly]或[x86]和[/ x86]之间包装汇编语言代码

下载地址
https://downloads.wordpress.org/plugin/asm-brush.1.0.1.zip
-EOF-

AI助手支持GPT4.0