[LLVMbugs] [Bug 8684] New: [MC assembler] .code16 not supported
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 24 12:48:51 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8684
Summary: [MC assembler] .code16 not supported
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dimitry at andric.com
CC: llvmbugs at cs.uiuc.edu
In FreeBSD, we have a few scattered pieces of 16-bit x86 assembly in the
tree, since these run in real mode; this mostly concerns boot loader
parts, but there is also at least one ACPI-related chunk (wakeup code).
Most of these are delineated with .code16 directives, but I see at least
one file that just consists of 'pure' 16-bit code. This causes the
integrated assembler to choke with e.g.:
sio.s:46:17: error: invalid operand for instruction
sio_putc.1: inb (%dx),%al # Transmitter
^
sio.s:48:3: error: invalid instruction mnemonic 'loopz'
loopz sio_putc.1 # No
^
sio.s:60:7: error: invalid operand for instruction
inb (%dx),%al # Read character
^
sio.s:67:7: error: invalid operand for instruction
inb (%dx),%al # Received data
^
This issue might also be shoved into bug 8595, but I guess 16 bit is
code is a rather different can of worms... Though it is still necessary
in 2010, apparently. :)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list