MESSAGE
DATE | 2004-09-01 |
FROM | Billy
|
SUBJECT | Re: [hangout] Assembly
|
On Wed, Sep 01, 2004 at 02:31:57PM -0500, Steve Milo wrote: > > Guys, thanks very much for the help on this. > > I'm looking at BC's website and there doesnt seem to be any information on > late late registration. The phone number for the registrars office is (718) > 758-8120. If anything, I think if you have the money CUNY will take it if you > arent taking it for credit. This was only the second time the class has met, > the next class is in a week. Labor day we will be off, between then and now > space may still be available. > > The 'lab' where I work has TASM on the machines, I can use them in a pinch. > As far as waiting for an assembly course that doesnt use TASM or MASM, that > will be a long wait. The three OSes they have here are Solaris, OSX and > winduz. No one teaches assembly on the Sun machines, I spoke to the Sun > admin. He tells me the faculty was interested, including one of their prize > best Unix professors (Whitlock). But this was a long time ago and no one has > picked up the ball. Nonetheless there could be potential.
Learning 'as' would enable you to program Sparc, PPC, and IA32 with a uniform syntax, on any OS you want using only free software. When you use GDB to debug a program later on in life, you're going to be staring at 'as' (AT&T) syntax, so it's really best to learn that!
TASM vs. NASM vs. MASM are all very limited languages in comparison with regard to applicability, portability, availability, and utility.
> Also, I think I can mention to the professor about NASM and see what > she says. She doesnt seem to be hung up on any particular OS so I > dont think I will get into a political discussion with her.
'as' !!!
> So far the only things she has talked about are mov, four registers (ax, bx, > cx, dx), add, sub, int21h, .model, .data and a few other things that I think > are fairly generic. Correct me if I'm wrong.
IA32 register names are assigned by intel and useful for any assembler. 'INT 21h' is a DOS-ism. Best avoided. '.model' is a 16-bit-ism. Best avoided. '.data' is universally useful.
> I have heard she is strict (stronger sentiments have been expressed from > lesser people), I would describe her as knowledable. She rattles off assembly > like its her own language. She wrote the book we used in Intro to C > Programming (1.5).
What book? There are a LOT of crappy books.
Teaching 'INT 21h' in 2004 doesn't make a lot of sense to me, unless it's for historical interest only.
> My next question is going to be very silly and naive but. > Does Linux run in protected mode or real mode?
Protected!
> Strangely I was taught the memory modes a long time ago in High School > or Junior High School. But never saw the need to remember it, the > importance hasnt been stressed up until now.
____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|