Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/binutils/opcodes/arm-dis.c
Show First 20 Lines • Show All 1,761 Lines • ▼ Show 20 Lines | for (c = insn->assembler; *c; c++) | ||||
of opcode. */ | of opcode. */ | ||||
{ | { | ||||
int imm; | int imm; | ||||
imm = (given & 0xf) | ((given & 0xe0) >> 1); | imm = (given & 0xf) | ((given & 0xe0) >> 1); | ||||
/* Is ``imm'' a negative number? */ | /* Is ``imm'' a negative number? */ | ||||
if (imm & 0x40) | if (imm & 0x40) | ||||
imm |= (-1 << 7); | imm |= -(1 << 7); | ||||
func (stream, "%d", imm); | func (stream, "%d", imm); | ||||
} | } | ||||
break; | break; | ||||
case 'F': | case 'F': | ||||
switch (given & 0x00408000) | switch (given & 0x00408000) | ||||
▲ Show 20 Lines • Show All 2,459 Lines • Show Last 20 Lines |