Home | History | Annotate | Download | only in BootSector

Lines Matching refs:bp

92   mov   bp,sp         ; bp = 0x7c00

95 mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver number to the loader through DL
105 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature
107 mov cx,word ptr [bp+RootEntries] ; cx = RootEntries
114 mov al,byte ptr [bp+NoFats] ; al = NoFats
116 mul word ptr [bp+SectorsPerFat] ; ax = NoFats * SectorsPerFat
117 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
123 mov word ptr [bp],ax ; Save FirstClusterLBA (FirstDataSector) for later use
175 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
179 add ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCluster
181 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
186 mov word ptr [bp+JumpSegment],ax ; 0x7d26
218 add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
219 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
223 mov bp,07bfch ; bp = 0x7bfc
226 movzx ebx,word ptr [bp] ; bx = MaxSector
238 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
243 mov bp,07c00h ; bp = 0x7c00
244 mov dl,byte ptr [bp+PhysicalDrive] ; dl = Drive Number