Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

asm-brush

Description

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.

Installation

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]

FAQ

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.

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« asm-brush » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « asm-brush » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Historique des changements

1.0.1

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

1.0.0

  • First release.