BR 2172659: Fix incorrect output value for byte operands

A typo in checkin c1377e9a98 caused a
bunch of signed-byte immediates to incorrectly be issued as zero.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2008-10-16 13:01:43 -07:00
parent 44d3552ab9
commit 779ed8bcfd

View File

@ -1534,11 +1534,11 @@ static void gencode(int32_t segment, int64_t offset, int bits,
"signed byte value exceeds bounds");
}
if (opx->segment != NO_SEG) {
data = um;
data = uv;
out(offset, segment, &data, OUT_ADDRESS, 1,
opx->segment, opx->wrt);
} else {
bytes[0] = um;
bytes[0] = uv;
out(offset, segment, bytes, OUT_RAWDATA, 1, NO_SEG,
NO_SEG);
}