Firefox 3 download pledge
Posted by Saša Bodiroža | Filed under Freedom, Misc, Software, internet, mozilla
Firefox is on its way for setting a Guinness world record in the most software downloaded in 24 hours. It’s gonna happen on FF3 release day. If you want to pledge that you will download it on its release day, you can do so on their Spread Firefox page. Also, check out the cool affiliate buttons and place one on your site.
Spread the word, spread Firefox!
Assembling … done
Posted by Saša Bodiroža | Filed under Misc, Personal, Programming
Well, I finished the assembler project for school. It was fun writing it and breaking the assembler into separate parts, for each specific task. I have also learned a lot about the way assembler works.
It is a basic assembler for 8086 processor with 2-byte words, and 1 byte long addressable unit.
It isn’t full with instructions, but it covers the basics. There are four segments: dat, txt, bss and stack. dat and txt, as data and code segments, are represented in the object file. There is the directive DW which is used to reserve a word, END for marking the end of the input. Seven instructions are available:
- mov dst, src
- add dst, src
- push src
- pop dst
- int src
- jz src
- jmp src
Eight registers are accessible: AX, BX, CX, DX, SI, DI, BP, SP. There are four addressing modes: immediate, direct, register direct and register indirect with displacement. The coded instruction is one word long, if both operands are addressed with register direct addressing, or two words long, if one of the operands is addressed in some other mode.
So far, the assembler is case-insensitive, but I think I’ll reprogram it, so it is case-sensitive for user-defined symbols. That would be nice :).
Since I don’t think I should publicly post the project code for now (there are still other people writing it), I’m gonna post a simple assembler program and the output. The program is not doing anything meaningful. It is just presenting the assembler possibilities. Read the rest of this entry »
Tags: assembler, Personal, Programming, project, school, system
Assembling too much
Posted by Saša Bodiroža | Filed under Misc, Programming, Thoughts
I have been writing assembler for the school project in the past few days. I think it had some negative effect on me…
Here’s a snippet from recent conversation with a friend:
Minja: The French guy has a great song.
Me: I’ll listen it. So far, I like mov, add… I mean, Turkish, Israeli and Bosnian song.
Time for dinner… definitely.
Subscribe to this blog



