Lines Matching refs:bx
111 mov bx,cx ; bx = size of the Root Directory in bytes
112 and bx,BLOCK_MASK ; See if it is an even number of sectors long
161 test bx, bx
175 …mov cx,bx ; cx = Start Cluster for EFILDR <--------------------…
184 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
186 mul bx
190 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
222 ; bx = NumberOfBlocks
230 mov cx,bx ; cx = Number of blocks to read
235 movzx ebx,word ptr [bp] ; bx = MaxSector
238 sub bx,dx ; bx = MaxSector - Sector
239 inc bx ; bx = MaxSector - Sector + 1
240 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
242 mov bx,cx ; bx = Blocks
250 push bx ; Save number of blocks to transfer
257 mov bx,di ; es:bx = Buffer address
260 pop bx
262 movzx ebx,bx
264 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
266 shl bx,(BLOCK_SHIFT-4)
267 add ax,bx
279 test bx,bx