Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Calypsi HP Nut AssemblyNew to Visual Studio Code? Get it now.
Calypsi HP Nut Assembly

Calypsi HP Nut Assembly

Jürgen Keller

|
2 installs
| (0) | Free
Syntax highlighting for Calypsi HP Nut assembly
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Calypsi HP Nut Assembly

Syntax highlighting for HP-41 Nut assembly source written for the Calypsi toolchain. This extension is intended for Calypsi .s files. For SDK41 .src files, use the earlier HP-41 Machine Language extension; the two assemblers do not necessarily accept the same syntax.

Features

  • Highlights HP and Jacobs–DeArras instruction mnemonics, including arithmetic field operands.
  • Highlights assembler directives, labels, literals, expressions, macro arguments, preprocessor lines, and comments.
  • Recognizes NEWT instructions.

Calypsi Nut assembly syntax highlighting in VS Code

The grammar is based on the Calypsi tools guide for the Nut, release 5.18.

Getting started

Open a Calypsi .s file in VS Code. If another language is selected, click the language name in the status bar and choose Calypsi HP Nut Assembly. To associate all .s files with this extension, add the following to your VS Code settings:

"files.associations": {
  "*.s": "hp41-asm"
}

This association also applies to other kinds of .s files; use a narrower pattern if your workspace contains different assembly languages.

Requirements and limitations

No assembler installation is required for highlighting. To assemble and check programs, use the Calypsi toolchain.

The grammar recognizes both mnemonic sets and NEWT instructions; it does not validate the assembler's --jda or --core options. Unrecognized arithmetic fields are left uncolored rather than reported as errors. Macro invocations and uncolonized labels followed by arbitrary macro invocations can be ambiguous. Use the assembler for diagnostics.

Release notes

0.1.0: Initial Calypsi Nut assembly highlighting.

Contributing

See CONTRIBUTING.md for development and test instructions.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft