Lines Matching refs:bx
144 # bx = NextClusterNumber
163 movw $2, %bx
171 movw (%si), %bx # bx = NextClusterNumber
174 decw %bx # bx = NextClusterNumber - 1
175 cmpw %cx, %bx # See if (NextClusterNumber-1)==ClusterNumber
177 incw %bx # bx = NextClusterNumber
179 movw %bx, %cx # ClusterNumber = NextClusterNumber
182 incw %bx
184 pushw %bx # StartCluster = NextClusterNumber
185 movw %bx, %cx # ClusterNumber = NextClusterNumber
188 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
189 mulw %bx # ax = (StartCluster - 2) * SectorsPerCluster
193 mulw %bx # ax = NumberOfClusters * SectorsPerCluster
194 movw %ax, %bx # bx = Number of Sectors
214 # bx = NumberOfBlocks
222 movw %bx, %cx # cx = Number of blocks to read
227 movzwl (%bp), %ebx # bx = MaxSector
231 movw (%bp), %bx # bx = MaxSector
232 subw %dx, %bx # bx = MaxSector - Sector
233 incw %bx # bx = MaxSector - Sector + 1
234 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
236 movw %cx, %bx # bx = Blocks
242 addw %bx, %ax # ax = End Block number of transfer
246 subw %ax, %bx # Decrease transfer size by block overage
256 pushw %bx # Save number of blocks to transfer
263 movw %di, %bx # es:bx = Buffer address
266 popw %bx
268 movzwl %bx, %ebx
270 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
272 shlw $(BLOCK_SHIFT-4), %bx
273 addw %bx, %ax
352 movw %cs, %bx # BX=segment
401 movw $0x0008, %bx # Flat data descriptor