Author Topic: My last homework for assembly language  (Read 3074 times)

slave

  • Member
  • **
  • Posts: 1,136
  • Kudos: 0
    • http://www.fuckmicrosoft.com
My last homework for assembly language
« on: 23 November 2003, 08:45 »
In my assembly language class, the last homework assignment was to write a program to demonstrate CGA color graphics.  So I wrote this:
It prints a BSOD message on the monitor  ;)

Code: [Select]

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
My last homework for assembly language
« Reply #1 on: 8 December 2003, 08:30 »
Haha cool  :D

I understand the top part...but what's with that huge section after displaying the screen?  :confused:
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
My last homework for assembly language
« Reply #2 on: 8 December 2003, 08:33 »
i wanna take an assembly class... how much is it costing you? Nothing i've been reading online helps me learn it any.

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
My last homework for assembly language
« Reply #3 on: 8 December 2003, 16:43 »
quote:
Originally posted by WMD:
Haha cool   :D  

I understand the top part...but what's with that huge section after displaying the screen?   :confused:  



That would be the code. The top part isn't doing anything, it's just a data declaration.
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
My last homework for assembly language
« Reply #4 on: 8 December 2003, 17:09 »
Incidentally, where you do the same thing over and over but with different strings, wouldn't that have been better as a loop?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Xeen

  • VIP
  • Member
  • ***
  • Posts: 1,065
  • Kudos: 55
My last homework for assembly language
« Reply #5 on: 17 December 2003, 01:54 »
I'm taking an assembly class next semester.

Should I be going going   :D   or   :(   ?

[ December 16, 2003: Message edited by: xeen ]


latino4ever8

  • Newbie
  • *
  • Posts: 15
  • Kudos: 55
    • http://www.n-revolution.com
My last homework for assembly language
« Reply #6 on: 25 December 2003, 22:11 »
yes i also wish to learn programming... how does one begin?
RHIXK - WM - NUZ- AE - JL
1=IL 2=ZR 3=EB 4=A 5=S 6=GB 7=T 8=B 9=Q 0=O

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
My last homework for assembly language
« Reply #7 on: 26 December 2003, 02:55 »
Depends on what you want to accomplish with the skill. I would say, pick a language, then get a book.

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
My last homework for assembly language
« Reply #8 on: 26 December 2003, 17:35 »
quote:
Originally posted by needs to know:
yes i also wish to learn programming... how does one begin?


Buy a book on PHP, its a pretty good language to start with, then learn C or Perl.

By the time you know them, you will be able to make up your own mind.

Xeen

  • VIP
  • Member
  • ***
  • Posts: 1,065
  • Kudos: 55
My last homework for assembly language
« Reply #9 on: 26 December 2003, 19:29 »
Java is the best language to learn for a programming beginner.

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
My last homework for assembly language
« Reply #10 on: 26 December 2003, 19:33 »
quote:
Originally posted by xeen:
Java is the best language to learn for a programming beginner.


Yea, but I dont know it which makes it uncool, everyone should do what I do.

I will learn Java one day.

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
My last homework for assembly language
« Reply #11 on: 29 December 2003, 14:09 »
Programming languages are like human languages in many respects. They all have a common 'vocabulary', but different syntax and so on.

What I suggest for a person that wants to learn a programming language is PHP. It is flexible, powerful, extensible, and above all C-like. Please note that I wrote C-like and not C-alike lol! PHP is a LOT more forgiving than C is, but it is a good way to start and it will definitely ease your transition to C.

After PHP, as you may have already understood, I propose C and then, if you want, C++.

I also strongly recommend picking up markup languages, starting from (X)HMTL and then going all the way up to XML. Also learn some CSS...

Others will probably recommend Perl. I don't, but that is a matter of opinion I suppose.

Just my 2 cents  

[ December 29, 2003: Message edited by: Panos ]


Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
My last homework for assembly language
« Reply #12 on: 29 December 2003, 19:04 »
CSS, HTML, XML, anything ending in ML is for wussies, learn god damned C.

Its the first language they tought at my brothers course, and hes a kickass programmer now.

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
My last homework for assembly language
« Reply #13 on: 30 December 2003, 15:19 »
quote:
Originally posted by X11: always understood:
CSS, HTML, XML, anything ending in ML is for wussies, learn god damned C.

Its the first language they tought at my brothers course, and hes a kickass programmer now.



Hmm, who can beat that kind of well-structured and constructive argument X?

Seriously, before jumping into learning higher-level programming, you should begin with proper markup. The benefit of learning how to write proper XHTML, HTML and so on is STRUCTURE! This is a key word for a programmer and subsequently a hacker (WARNING: I wrote hacker and not cracker! There is great difference between those two terms!)...

Oh, and X... I wouldn't be writing this to you if it weren't for the HyperText Markup Language and its variants  ;)

Commander

  • Member
  • **
  • Posts: 242
  • Kudos: 52
My last homework for assembly language
« Reply #14 on: 5 January 2004, 01:08 »
DO NOT start with java.  it may look cool and you could probably start spitting out actual GUI in ur code in a matter of 1-2 weeks and learn the basic concepts, but do NOT start with java.  PHP is a better solution. actually, ignore java altogather unless it;s a requirment in one of ur courses.

'-> my 2 cents
Ballmer needs a firm kick in the ass.... (since he has no balls)