/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
bootsect.S | 57 NoFats: .byte 0 # Number of FATs - 8 bits
115 movb NoFats(%bp), %al # al = NoFats
116 xorb %ah, %ah # ah = 0 ==> ax = NoFats
117 mulw SectorsPerFat(%bp) # ax = NoFats * SectorsPerFat
118 addw ReservedSectors(%bp), %ax # ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
123 addw %bx, %ax # ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA (FirstDataSector)
|
bootsect.asm | 56 NoFats db 0 ; Number of FATs - 8 bits
114 mov al,byte ptr [bp+NoFats] ; al = NoFats
115 xor ah,ah ; ah = 0 ==> ax = NoFats
116 mul word ptr [bp+SectorsPerFat] ; ax = NoFats * SectorsPerFat
117 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
122 add ax,bx ; ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA (FirstDataSector)
|
bs16.asm | 43 NoFats db 0 ; Number of FATs - 8 bits
101 mov al,byte ptr [bp+NoFats] ; al = NoFats
102 xor ah,ah ; ah = 0 ==> ax = NoFats
103 mul word ptr [bp+SectorsPerFat] ; ax = NoFats * SectorsPerFat
104 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
109 add ax,bx ; ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA (FirstDataSector)
|
bs32.asm | 43 NoFats db 0 ; Number of FATs - 8 bits
116 mov al,byte ptr [bp+NoFats] ; al = NoFats
117 xor ah,ah ; ah = 0 ==> ax = NoFats
118 mul word ptr [bp+SectorsPerFat32] ; ax = NoFats * SectorsPerFat
119 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
120 add ax,bx ; ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA
|
bs16.S | 45 NoFats: .byte 0 # Number of FATs - 8 bits
103 movb NoFats(%bp), %al # al = NoFats
104 xorb %ah, %ah # ah = 0 ==> ax = NoFats
105 mulw SectorsPerFat(%bp) # ax = NoFats * SectorsPerFat
106 addw ReservedSectors(%bp), %ax # ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
111 addw %bx, %ax # ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA (FirstDataSector)
|
bs32.S | 45 NoFats: .byte 0 # Number of FATs - 8 bits
117 movb NoFats(%bp), %al # al = NoFats
118 xorb %ah, %ah # ah = 0 ==> ax = NoFats
119 mulw SectorsPerFat32(%bp) # ax = NoFats * SectorsPerFat
120 addw ReservedSectors(%bp), %ax # ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
121 addw %bx, %ax # ax = NoFats * SectorsPerFat + ReservedSectors + RootDirSectors = FirstClusterLBA
|
start.S | 42 NoFats: .byte 0 # Number of FATs - 8 bits
[all...] |
start16.S | 43 NoFats: .byte 0 # Number of FATs - 8 bits
[all...] |
start32.S | 42 NoFats: .byte 0 # Number of FATs - 1 byte
[all...] |
st16_64.S | 43 NoFats: .byte 0 # Number of FATs - 8 bits
[all...] |
st32_64.S | 42 NoFats: .byte 0 # Number of FATs - 1 byte
[all...] |
start64.S | 43 NoFats: .byte 0 # Number of FATs - 8 bits
[all...] |
st16_64.asm | 39 NoFats db 0 ; Number of FATs - 8 bits
[all...] |
st32_64.asm | 38 NoFats db 0 ; Number of FATs - 1 byte
[all...] |
start.asm | 39 NoFats db 0 ; Number of FATs - 8 bits
[all...] |
start16.asm | 39 NoFats db 0 ; Number of FATs - 8 bits
[all...] |
start32.asm | 38 NoFats db 0 ; Number of FATs - 1 byte
[all...] |
start64.asm | 39 NoFats db 0 ; Number of FATs - 8 bits
[all...] |