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 ecm Homepage E-mail, Düsseldorf, Germany, 05.11.2025, 09:30

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

>
> Why not a constant expression? That would be self-documenting.
>
> mov bx,(64 * 1024) / 16

I would probably go with paras(64 * 1024)

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

>
> You can do this simpler:
>
> times 3: shl cx,1

There's no colon allowed after the times count I believe.

---
l

 

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