ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

SUBC.B

T2 msp430 alu insn
MSP430 MSP430 16-bit Instruction: SUBC.B
SourceLLVM TI MSP430 16-bit MCU ISA Definitions (llvm_msp430_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeTI MSP430 (MSP430 16-bit)
Texas Instruments MSP430 / MSP430X 16-bit MCUs
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/MSP430
Privilegeuser
ExtensionsMSP430 16-bit

Summary

MSP430 SUBC.B instruction (MSP430 16-bit, 48-bit) with 12 encoding variants extracted from LLVM TableGen. Effects: load.

Syntax / Encoding

SUBC8mi: subc.b $imm, $dst
SUBC8ri: subc.b $imm, $rd
SUBC8mm: subc.b $src, $dst
SUBC8mn: subc.b $rs, $dst
SUBC8rm: subc.b $src, $rd
SUBC8rn: subc.b $rs, $rd

Binary Encodings (6)

WidthFormatBit PatternMask / Match
48SUBC8mixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011100001111xxxx0x00000000fff0 / 0x0000000070f0
48SUBC8rixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011100000111xxxx0x00000000fff0 / 0x000000007070
48SUBC8mmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0111xxxx1101xxxx0x00000000f0f0 / 0x0000000070d0
48SUBC8mnxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0111xxxx1110xxxx0x00000000f0f0 / 0x0000000070e0
48SUBC8mpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0111xxxx1111xxxx0x00000000f0f0 / 0x0000000070f0
48SUBC8mrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0111xxxx1100xxxx0x00000000f0f0 / 0x0000000070c0

Operands

NameDescription
dst
imm
imm
src
rs
rs
rs
rd
src2
wb