0 Nerd-Its - +

Good Article

Comment a comment by ramkrishna_cool, published on 24 May 2006
Navigate to the top level to view all replies to the article PC Bootstrap Loader Programming Tutorial in ASM
a lone nerd has left 1 comment below

It is a good article and found helpful one. But I am wondering on the formula given to calculate absolute sector whether it is

absolute sector = (logical sector / sectors per track) + 1

or

absolute sector = (logical sector MOD sectors per track) + 1

Thread parent sort order:
Thread verbosity:
0 Nerd-Its - +
RE: Good Article by VnutZ :: NR10

>absolute sector = (logical sector / sectors per track) + 1
>or
>absolute sector = (logical sector MOD sectors per track) + 1

Good question. x86 Assembly Language integer functions are the equivalent of a division operation where you will lose the remainder (actually saved into another register). Thus, I had written the equation under the assumption that the math would take place in integer form because I was not using the floating point unit.

The Showcase

Nerd-Its   Nerd Trends   Last Ten  

  1. RE: Discussing Book of Mormon anachronisms in God before Country in the Military
  2. RE: Just Because It's Unexplainable Doesn't Mean Divine :) in Catholic Exorcist Points Finger at Vatican
  3. Just Because It's Unexplainable Doesn't Mean Divine :) in Catholic Exorcist Points Finger at Vatican
  4. Catholic Exorcist in Catholic Exorcist Points Finger at Vatican
  5. RE: Rich People Olympics and Snowboarding Under Arms in Winter Olympic sports?
  6. RE: Where to start learning, and government support of religion in Scientology: We've had it with you
  7. No problem with ABP in Ad-Blocking: Dueling Views
  8. RE: Curling and Ice Dancing in Winter Olympic sports?
  9. RE: Where to start learning, and government support of religion in Scientology: We've had it with you
  10. The true solution in Scientology: We've had it with you

What is OmniNerd?

Omninerd_icon Welcome! OmniNerd's content is generated by nerds like you. Learn more.

Voting Booth

Winter Olympic sports?

32 votes, 12 comments