You are viewing the archives for the ‘Assembly’ category

Feeling Really Haggard

When I came to school at 9 this morning, John Paul and Marc Jones were the only ones around. Subsequently, the rest came one after another. We finalized our answers in Stat105 4th long exam (thanks to John Paul who reviewed my green book - our answer sheet - or I could’ve lost some points!) and then situated at CL1 (Computer Laboratory 1). Academics is killing me softly. Name them: (Monday) CMSC131 and CMSC123 finals, (Tuesday) Stat105, SocSci26, and CMSC140 finals. Two of these are take-homes but it still requires great effort. Sometimes I can’t help but think that perhaps it would’ve been better if we had a ‘real’ exam instead. Plus, Java Calculator Applet and PHP Exercise with MySQL as deliverables for passing CMSC140. A project is also required in Assembly and, luckily, we’ve already presented it to Ma’am today. I’ll show our code below. ^_^

We had a little quality time in the lab this afternoon. I’d say that somehow, and even if it may seem pretty late, our batch has finally become close to one another. Well, should be. No man is an island, and definitely you won’t survive a course being alone. It’s Mary Glo’s birthday today and we asked - no, forced {lol} - her to buy us food. She bought two packs of that sweet buttered, err, toasted bread I usually eat. I was alone when I rode the tricycle going to the dorm. Then I saw my other classmates walking. Tsk, I should’ve left the lab together with them in the first place. Neh. And yeah, Charmie, a sophomore BroadComm student who’s a friend and classmate in Badminton, got her article published in the Philippine Daily Inquirer’s Young Blood today.

Continue reading?

Assembly: Finding Composite Numbers

This Assembly program asks for an input and finds all the composite numbers (factor is only 1 and itself) up to that limit. I think this was our first ‘major’ exercise in CMSC131. Of course, I had to ask help from some of my classmates to fully accomplish it. Jen had to help me change the command in the “increment” block from the add command to using the inc command instead because the previous produces and infinite loop.

P.S. There’s already Internet connection here in the dorm! =P Not yet in the rooms though. Tsk.

  composite.asm (1.3 KiB, 39 hits)