Thread: History Lesson

  1. #1
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179

    History Lesson

    Ok this is probably a fairly complicated questoin so if someone could please inform me.

    If I need a compiler to change my code to something my computer can understand then how were the first computer programs made? I am at a loss to understand how in the first place they made operating systems with ust micorchips so if someone has been reading up .
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    The first 'code' was binary. The programer was entering strings of 1 and 0 ...That is what I call serious low level programing

  3. #3
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179
    Ok I had assumed that is was something like that(thanks for making me sure)but I mean how did they physically type it in, like what would they edit it in?A black screen like the beginning of DOS? And if so how did they know how to program and how would you know how to program it like who made up the language and how did they know that the computer could understand it? Also how would this first program that the programmer edit the code in be used if it had to be programmed??
    I know that this is a confusing topic but I would appreciate the info.
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

  4. #4
    Unregistered
    Guest
    A processor ( the physical hardware) can understand certain "op codes". I assume this is short for operation codes, but I'm not sure. An op code is just a number ( I assume a 32 bit number on Pentium processors ) that specifies a certain action that the processor will take. Usually some very small action, like moving something from one processor register to another. The processor also has an instruction pointer that it maintains, and I think it's hard-coded into the processor where that instruction pointer will look for its first instruction when the system first boots up. If it finds a vaild op code at that address, it just sort of goes from there, executing opcodes, and updating its instruction pointer. This is all just recollections from my Assembly language class a few years ago, so I may have fudged a few details here and there. Sorry. You should probably take an assembly class though if you really want to understand the all the neat details...

  5. #5
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179
    Man when people answer my questions I always seem to have another question..
    So anyways does anyone know any classes at all in Regina that a 14 year old could take??
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    95
    I've done a bit of asm, but dont think they actually specify where the first pc program was made and how, that kind of thing, I asume that it was more of an upgradable thing, pc's originally where all hard coded, so wires connecting everything up then there was cards, etc. Umm the thing with the operation codes is fairly wrong. Basically its all 1's and 0's from that they made asm, every line of asm code results in anywhere from 1 to 4ish bytes, each instruction varies depending on the bits contained inside the first instruction, ie some instructions are 1 byte, some are two, if this is the question then I'd recommend that you download and go through some of the following book, its called The art of assembly language . Hope this helps

  7. #7
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179
    Wow that is harsh going through with 0's and 1's.
    Now you said that ASM is basically made up of 0's and 1's so here is another question. What do you write to lets say get something to appear on the screen like the old "Hello World" thing?
    What would the code be in 0's and 1' cause that is confusing how you would know how to do it(and I complain about debugging C programs)
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Where to find information about C/C++ history
    By JOCAAN in forum Tech Board
    Replies: 1
    Last Post: 12-29-2007, 10:34 AM
  2. Lesson #2 for New Comers to C#
    By oval in forum C# Programming
    Replies: 0
    Last Post: 04-18-2006, 05:36 PM
  3. best way to search through 'history'
    By anykey in forum C++ Programming
    Replies: 2
    Last Post: 08-16-2005, 04:31 PM
  4. History of the Napkin
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-20-2004, 01:41 AM
  5. will not erase this history for internet explorer
    By HelpPLease123 in forum Tech Board
    Replies: 8
    Last Post: 11-02-2002, 01:18 AM