Скрыть 
[assembler][некрофилия]Почему bootsect.S не собирается? 
выполнил я значит в каталоге с сорцами ядра 0.95а make dep, потом набираю make и получаю такое: 
bash make cpp  -nostdinc  -Iinclude  -traditional  boot/ bootsect.S -o  boot/ bootsect.s                                                                                                                                    as86  -0  -o  boot/ bootsect.o boot/ bootsect.s                                                                                                                                                                 ( bx)                  ; gs :si is source                                                                                                   *****  register used as  identifier...................................^                                                                                                                                      ( di) ,* 18               ; patch  sector count                                                                                               *****  comma expected.............................................^                                                                                                                                         *****  register used as  identifier.................................^                                                                                                                                        *****  illegal indirect to indirect...................................^                                                                                                                                     *****  junk after operands............................................^                                                                                                                                     ( bx) ,di                                                                                                                                    *****  register used as  identifier................................^                                                                                                                                         ( bx) ,es                                                                                                                                   *****  register used as  identifier.................................^*****  illegal indirect to indirect...................................^*****  junk after operands............................................^*****  comma expected.............................................^( bp)         ; load word into dx*****  register used as  identifier....................................^( bx)                  ; gs :si is source *****  register used as  identifier...................................^( di) ,* 18               ; patch  sector count*****  register used as  identifier.................................^*****  comma expected.............................................^*****  illegal indirect to indirect...................................^*****  junk after operands............................................^( bx) ,di*****  register used as  identifier................................^( bx) ,es*****  comma expected.............................................^*****  illegal indirect to indirect...................................^*****  junk after operands............................................^*****  register used as  identifier.................................^( bp)         ; load word into dx*****  register used as  identifier....................................^make : ***  [ boot/ bootsect]  Ошибка 1  А от фрагмент кода, на который ругается: 
asm         lgs      si , ( bx )                  ; gs:si is source mov      di , dx                    ; es:di is destination mov      cx , #6                    ; copy 12 bytes cld rep seg  gs mov      di , dx ( di ) ,* 18                ; patch sector count seg  fs mov      ( bx ) , di seg  fs mov      2( bx ) , es  Вопрос: как поправить код так, чтобы он компилировался и при этом выполнял те же функции? Спасибо.
 
Re:[assembler][некрофилия]Почему bootsect.S не собирается?
as86 использует синтаксис nasm, а тут явно что-то другое
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0