Asmlight

by Marcello Antonio Alberico Crocco Egineta
5
4
3
2
1
Score: 50/100

Description

Obsidian Plugin to help note taking in low level computer science courses

Reviews

No reviews yet.

Stats

6
stars
105
downloads
2
forks
41
days
40
days
41
days
11
total PRs
0
open PRs
1
closed PRs
10
merged PRs
0
total issues
0
open issues
0
closed issues
34
commits

Latest Version

a month ago

Changelog

Asmlight 0.4.0: first public release

Asmlight is an Obsidian plugin for embedded and low-level notes. It highlights assembly and the files around it, explains what you hover over, and turns short text descriptions into register and memory map diagrams.

Languages

  • RISC-V (riscv, rv32, rv64): base ISA plus M, A, F, D, C, Zicsr, Zba/Zbb, common V, pseudo-instructions and all standard CSRs
  • ARM AArch32 / Thumb (arm, thumb): including VFP/NEON and Cortex-M special registers
  • AArch64 (arm64, aarch64): ARMv8-A, FP/SIMD, LSE atomics, EL1–EL3 system registers
  • Disassembly (objdump, disasm): objdump -d and GDB disassemble output, with the ISA detected automatically
  • Makefile, GNU ld linker scripts and Devicetree

Hover cards

Hover an instruction, register, CSR or keyword to see what it does, along with its syntax and pseudo-code. ARM condition and flag suffixes are decoded. Number literals (0xFFFFF000, 0b1010, 0x4000000UL) show their value in every base, in C blocks too.

Diagrams

  • Register diagrams: describe a register's bitfields in a few lines to get a drawing, and optionally decode a value.
  • Memory maps: lay out regions, peripherals and vector tables by address, with gaps and nesting shown.

It works in Reading view, Live Preview and Source mode, on desktop and mobile, and uses your theme's colors.

Install

  1. Create .obsidian/plugins/asmlight/ in your vault.
  2. Download main.js, manifest.json and styles.css from the assets below into that folder.
  3. Enable Asmlight under Settings → Community plugins.

Examples and the full syntax are in the README.