bootsect.s:1023: Error: `%al' not allowed with `outw'

Javier Kohen (jkohen@tough.com)
Tue, 12 Oct 1999 17:15:32 -0300


I got this message while compiling kernel 2.3.21 with binutils 2.9.5.0.12

---
gcc -D__KERNEL__ -I/usr/src/linux/include -E -traditional -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bootsect.s
as -o bootsect.o bootsect.s
bootsect.s: Assembler messages:
bootsect.s:1023: Error: `%al' not allowed with `outw'
--

And the infamous code is:

kill_motor: pushw %dx movw $0x3f2, %dx xorb %al, %al outw %al, %dx << 1023 popw %dx ret

--
Javier Kohen <jkohen@tough.com>
ICQ #3855350 [The_Crusher]

pub 1024D/B1CC03AA 1998-12-14 Javier Kohen <jkohen@tough.com> Key fingerprint = 24FC F604 5FB1 95BB F2D0 95F3 64AA 65FD B1CC 03AA sub 2048g/2F6F4630 1998-12-14

http://jkohen.cjb.net/ http://members.xoom.com/jkohen/

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/CS/IT d--- s: a--- C++$ UL++++$ P++ L++ E W++ N o K- w O M- V? PS+++ PE-- Y+ PGP+++ t+ 5-- X R tv b+ DI? D+ G e->e h! r++ y* ------END GEEK CODE BLOCK------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/