Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Dokuwiki on pushbx.org: Review of iniload control flow (Developers)

posted by Rugxulo Homepage, Usono, 05.11.2025, 01:35

>
> mov bx, 1000h   ; = amount paragraphs per 64 KiB
>


Why not a constant expression? That would be self-documenting.

mov bx,(64 * 1024) / 16

>
> shl cx, 1
> shl cx, 1
> shl cx, 1 ; how much to relocate first,
>


You can do this simpler:

times 3: shl cx,1

 

Complete thread:

Back to the forum
Board view  Mix view
22781 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum