Lines Matching refs:bx
96 mov bx,cx ; bx = size of the Root Directory in bytes
97 and bx,BLOCK_MASK ; See if it is an even number of sectors long
139 test bx, bx
153 …mov cx,bx ; cx = Start Cluster for EFILDR <--------------------…
162 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
164 mul bx
168 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
200 ; bx = NumberOfBlocks
208 mov cx,bx ; cx = Number of blocks to read
213 movzx ebx,word ptr [bp] ; bx = MaxSector
216 sub bx,dx ; bx = MaxSector - Sector
217 inc bx ; bx = MaxSector - Sector + 1
218 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
220 mov bx,cx ; bx = Blocks
228 push bx ; Save number of blocks to transfer
235 mov bx,di ; es:bx = Buffer address
238 pop bx
240 movzx ebx,bx
242 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
244 shl bx,(BLOCK_SHIFT-4)
245 add ax,bx
257 test bx,bx