Re: Early-2014 Macbook Air and Linux Mint Cinnamon
Charlie Gibbs <[email protected]>
| Newsgroups | comp.sys.mac.vintage,comp.os.linux.misc |
|---|---|
| Message-ID | <[email protected]> |
On 2026-06-24, rbowman <[email protected]> wrote: > On Wed, 24 Jun 2026 11:41:48 +0100, The Natural Philosopher wrote: > >> You can do operations on all registers too. >> The accumulator is the register where the *results* of those operations >> typically get stored. > > On the Z80 the AF register pair were often called the accumulator but F > was the flag register. > > JR NC, FOO does the relative jump if the last operation on A cleared the > carry bit. > > * so says the internet. I remember it as 'JNC FOO' but there was always > the confusion since Zilog couldn't use Intel's super duper patented > mnemonics. Too bad. I liked the Intel mnemonics better; they gave a clue as to the operation of the instruction, which appealed to low-level dweebs like me. I'm sure the CS weenies liked Zilog's mnemonics better, where every data movement instruction seemed to be some form of LD. I figured that if they were going to do that, they might as well go whole hog and have constructs like LD PC,<addr> for a jump, and LD A,@<portnum> for input (LD @<portnum>,A for output, of course). Then they could eliminate the now-redundant instruction mnemonic entirely; programs would be just a long list of operands, with the operation implied. -- /~\ Charlie Gibbs | No artificial \ / <[email protected]> | intelligence was X I'm really at ac.dekanfrus | used in the creation / \ if you read it the right way. | of this post.