#3021·capstone

alpha: Signed memory-format offset interpreted as unsigned

Author: rth7680Created Aug 10, 2026Updated Aug 12, 2026
LabelsbugAlpha
$ ./cstool -d alpha 0xb0,0xb0,0x42,0x20
 0  b0 b0 42 20  lda	$2,0xb0b0($2)
	ID: 89 (lda)
	op_count: 3
		operands[0].type: REG = $2
		operands[0].access: WRITE
		operands[1].type: IMM = 0xb0b0
		operands[1].access: READ
		operands[2].type: REG = $2
		operands[2].access: READ
	Registers read: $2
	Registers modified: $28 $2

The immediate should be -20304. Same for other memory operations.

Source: capstone-engine/capstone