Click to See Complete Forum and Search --> : What's the very basic language?


-=Hero Doug=-
October 30th, 2004, 09:12 PM
I want to start from the very very basics of programming and work my way up.

From what I've read assembly is used to boot an OS and transfer controls over to a higher level language like C/C++.

But, assembly has to be compiled from what I understand, so what's it compiled in? It's starting to turn out to be like the chicken and the egg.

I'm basically looking to see if I can create a boot disk (Not for any specific operating system) and so far assembly is what seems to do it.

I've come across the The Assembler Developer's Kit (http://webster.cs.ucr.edu/AsmTools/RollYourOwn/) which I think will help teach me how to create an assembler, but what will it assemble?

Anyways, just looking for some generic info, thanks for all help.

NoHero
November 1st, 2004, 07:50 AM
At school he have done a lot work with assembler, at least with turbo assembler from Borland. This is an old compiler though, but very easy to use and to start with assembler.

My School Files (http://members.a1.net/nohero/open/asm.zip)

_Dave_
November 11th, 2004, 07:39 AM
Hello Doug.

I have just started reading "Assembly Language for Intel-Based Computers" by Kip R. Irvine. It's very good. The microsoft assembler MASM is included on CD, and it's all very easy to use.

It would be almost impossible to write any serious program in the lowest level language because you would have to write binary numbers.

Dave

Bambi123
November 12th, 2004, 06:41 PM
Hello Doug.
It would be almost impossible to write any serious program in the lowest level language because you would have to write binary numbers.

Dave
Problem size gives more correct answer !
Binary numbers is not the only information bits when dealing with assembly or any low level programming languages..
Assembly language is the lowest language, but learning it along with computer architecture I think is a Must for All people in CS. If they are into software engineering field, it becomes a prerequisite for testing, debuging, etc. This means writing serious programs in assembly is not the only purpose for people to learn it, there are still a lot of ways for them to go and play around with optimization techniques from actual problems for programmers down to microprocessors for manufacturers, etc.
Who claims to be a good software engineer without knowledge of how the assembler works anyway?

Bambi123
November 12th, 2004, 06:57 PM
I want to start from the very very basics of programming and work my way up.
.....snip......
Anyway, just looking for some generic info, thanks for all help.
Hello Doug!
The page you gave has good tutorials about how to write really wonderful programs. I have learnt form that page how to write command 4 executing programs, simple like Hello World.
Thanks alot, I learn form it alot! --lol-

// So sorry if I said something so big to make up smaller things. I think I should "do it" more rather than only "say it" basing on my personal experience. Thats what I say about number 4. Am I incorrect ?

Desire
November 12th, 2004, 09:42 PM
Problem size gives more correct answer !
Binary numbers is not the only information bits when dealing with assembly or any low level programming languages..

N0nsense! Inc0rrect !
Stop posting irrelavent things. i didn't find what your posted in this thred does things relate to post by david.
All digital comps use 0's and 1's only.

If i realise this better, i should go away than just come and make things irrelavent, nonsense, :mad:
Hello Doug!
The page you gave has good tutorials about how to write really wonderful programs. I have learnt form that page how to write command 4 executing programs, simple like Hello World.
Thanks alot, I learn form it alot! --lol-

// So sorry if I said something so big to make up smaller things. I think I should "do it" more rather than only "say it" basing on my personal experience. Thats what I say about number 4. Am I incorrect ?
Thsi is treur!

believ me, this is BINARY, BINARY, treu, true !!
-------------

Dogu!! good links for newbie, g00d!! ;), trust me, Im true!

_Dave_, thats a good book to read, i have it heer. :)

lepricaun
November 26th, 2004, 05:49 PM
N0nsense! Inc0rrect !
Stop posting irrelavent things. i didn't find what your posted in this thred does things relate to post by david.
All digital comps use 0's and 1's only. i hate to have to say this, but basically, real basically binary only exists of power "shocks" that represent the 0's and 1's, so theoretically (only in theory ;)) you could pass out electrical shocks to write a program :D

but seriously,

i am learning 16-bit assembly at the moment, after that i will start with 32-bits windows assembly (masm32), and when i think i am ready for it, i will teach myself how to program in opcode, creating an executable completely from scratch!

but that will take a while, for now i'm still stuck on how to read a string at once in asm (16-bit). all i can think of is reading one character at a time, and then copying it into the buffer (array), while the dos interrupt with subfunction ah=09h CAN print out one string at the time. why can't i read one string at the time then?

don't bother anwsering my question, i don't want to steal someones thread, i will find it out myself ;)

regards


White Scorpion