snabelen.no is one of the many independent Mastodon servers you can use to participate in the fediverse.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

459
aktive brukere

#assembly

10 innlegg10 deltakereett innlegg i dag

Interesting discovery in #gameboy
#assembly:

"LD A, [HL+]", loading the value in ram at the location the register HL is pointing to into register A, then increment HL, takes 2 cycles.

"INC HL", so just incrementing HL, takes 3 cycles.

???

I'm guessing it's because the load instruction doesn't set any flags, but still super wierd.

The 1988 book "Structured Programming in Assembly Language for the IBM PC" by William Runnion is impressive for its breadth and depth. For example, it also covers recursion and text graphics. It's even more impressive considering how much work went into producing the book.

At 728 pages, this resource was a treasure back then and it still is to this day.

openlibrary.org/works/OL345220

Open LibraryStructured programming in assembly language for the IBM PC by William C. Runnion | Open LibraryStructured programming in assembly language for the IBM PC by William C. Runnion, unknown edition,