Showing posts with label Assembler. Show all posts
Showing posts with label Assembler. Show all posts

Monday, March 23, 2009

Can you tell me what a person from Corsica is called?

FCOMIP ST, ST(1) ;23
fstp Q
jc LESS
and ah,20h
Jnz EQUAL
mov eax,0C00002h ;Greater


Another hour of Tim Vine last night. While it might not have more than a few absolute guffaws, the continuous stream of puns means that the amusement meter never falls below a certain level of entertainment. The extras are quite fine as well.

I have a note in the book from Friday in which I expressed a desire to write a poem about assembly language. It suddenly struck me as I was writing that sentence that assembler itself looks a bit like a poem anyway, though obviously one where the meaning is different from your run-of-the-mill ode (ode instead of code perhaps). But it still has meaning and even metre and rhyme; it just doesn't quite have the emotional content. My sudden desire to get back into assembler was sparked by the sight of some short function that had replaced a much clearer function written in c and was obviously just a way of advertising someones expertise at push, pop and mv. All of sudden I was back with my head in an 8086 book marvelling at how one could move a single bit from one place to another. Of course the range of addresses through which those bits can be moved is now 1000s of times bigger than it was then, meaning that I am sure no one really bothers with it these days. I worry that there will be a point when there is not one person left who understands the low-level stuff of computing and assembler and machine code will become like mystical deities on which the entire world relies but nobody can change. At that point, the whole architecture will be frozen, only changing in speed and magnitude without any ability to tune the underlying code to fit changes in the world, gradually becoming more and more inefficient as the hardware loses sight of the software. If we suddenly kick all our code over to quantum computing we will have to learn a completely new low-level architecture in order to program anything. Never mind - it was nice while it lasted.

Monday, July 16, 2007


Statement From a Marine Neurocrustaceologist!

I have my third copy of GEB - no questions asked - so it will be half as battered as it would have been by the time I finish it - sometime in 2017 I think. Well, maybe not then. I am deep into part 2 which seems to have less maths so far but is interesting just the same. I have found myself as interested in the distinctions between machine code, Assembler and compiled languages as I ever was when I first learned about them. I never do any assembler now and I only ever wrote one commercial assembly language program. This was some small portion of the input stream for an ATM deposit system. Knowing the world of technology there is some chance that this code is still in place in a live system. I keep meaning to start on assembler again one day just to say I can still do it but having to bother about carrying puts me off. Pointers I hate!

Control - April 2019

‘It had nothing to do with me, but I couldn’t help wondering what it would be like, being burned alive all along your nerves.’ I. The Dispos...