Title: asm-brush
Author: chlankboot
Published: <strong>2010 年 12 月 14 日</strong>
Last modified: 2010 年 12 月 15 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/asm-brush.svg)

# asm-brush

 作者：[chlankboot](https://profiles.wordpress.org/chlankboot/)

[下载](https://downloads.wordpress.org/plugin/asm-brush.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/asm-brush/#description)
 * [评价](https://cn.wordpress.org/plugins/asm-brush/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/asm-brush/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/asm-brush/#developers)

 [支持](https://wordpress.org/support/plugin/asm-brush/)

## 描述

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.

## 安装

**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/.

**Plugin Usage**

 * Have the “SyntaxHighlighter Evolved” plugin installed
 * Wrap your assembly language code between [assembly] and [/assembly] or [x86] 
   and [/x86]

## 常见问题

  Will the brush work with other processors?

Processors have in common some mnemonics, so yes it will, but not everything will
be highlighted like with the x86 instruction set, you need to add your particular
instructions set to the brush.

  How can I add instructions to the brush?

By editing the shBrushAsm.js file.

## 评价

此插件暂无评价。

## 贡献者及开发者

「asm-brush」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ chlankboot ](https://profiles.wordpress.org/chlankboot/)

[帮助将「asm-brush」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/asm-brush)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/asm-brush/)，查看[SVN仓库](https://plugins.svn.wordpress.org/asm-brush/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/asm-brush/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/asm-brush/)。

## 更新日志

#### 1.0.1

 * Improved some pattern recognition (db, dd, dw and some MASM mnemonics).

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/asm-brush/)
 * 标签
 * [asm](https://cn.wordpress.org/plugins/tags/asm/)[brush](https://cn.wordpress.org/plugins/tags/brush/)
 *  [高级视图](https://cn.wordpress.org/plugins/asm-brush/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/asm-brush/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/asm-brush/reviews/)

## 贡献者

 *   [ chlankboot ](https://profiles.wordpress.org/chlankboot/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/asm-brush/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.supportunicef.org/)