Lines Matching refs:bx
159 # bx = NextClusterNumber
178 movw $2, %bx
186 movw (%si), %bx # bx = NextClusterNumber
189 decw %bx # bx = NextClusterNumber - 1
190 cmpw %cx, %bx # See if (NextClusterNumber-1)==ClusterNumber
192 incw %bx # bx = NextClusterNumber
194 movw %bx, %cx # ClusterNumber = NextClusterNumber
197 incw %bx
199 pushw %bx # StartCluster = NextClusterNumber
200 movw %bx, %cx # ClusterNumber = NextClusterNumber
203 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
204 mulw %bx # ax = (StartCluster - 2) * SectorsPerCluster
208 mulw %bx # ax = NumberOfClusters * SectorsPerCluster
209 movw %ax, %bx # bx = Number of Sectors
229 # bx = NumberOfBlocks
237 movw %bx, %cx # cx = Number of blocks to read
242 movzwl (%bp), %ebx # bx = MaxSector
246 movw (%bp), %bx # bx = MaxSector
247 subw %dx, %bx # bx = MaxSector - Sector
248 incw %bx # bx = MaxSector - Sector + 1
249 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
251 movw %cx, %bx # bx = Blocks
257 addw %bx, %ax # ax = End Block number of transfer
261 subw %ax, %bx # Decrease transfer size by block overage
271 pushw %bx # Save number of blocks to transfer
278 movw %di, %bx # es:bx = Buffer address
281 popw %bx
283 movzwl %bx, %ebx
285 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
287 shlw $(BLOCK_SHIFT-4), %bx
288 addw %bx, %ax
367 movw %cs, %bx # BX=segment
416 movw $0x0008, %bx # Flat data descriptor