1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

How assembler has been made ?!

Discussion in 'General Software' started by ahmedcrow, Nov 17, 2016.

  1. ahmedcrow

    ahmedcrow

    Joined:
    Nov 17, 2016
    Messages:
    7
    Operating System:
    Windows 7
    I'm trying this days to learn assembly, I'm using tasm, I'm aiming to understand how computer works inside itself in the deep as I can arrive to.

    May be assembly language used to program some first softwares, may be it used to program DOS, but what's the language or the way that before the assembly, suppose that we have no language to program, how we can program what we want of the first programs or OS ?

    I hope my question is clear.
     
  2. Tony D

    Tony D Administrator Administrator

    Joined:
    Sep 25, 2009
    Messages:
    5,157
    Location:
    SE Pennsylvania, USA
    Operating System:
    Windows XP Professional
    Don't know Assembly. If you just want to write programs, I've used C++ a few years ago.
     
  3. ahmedcrow

    ahmedcrow

    Joined:
    Nov 17, 2016
    Messages:
    7
    Operating System:
    Windows 7
    It's a great idea Tony, I'm not learning assembly to write programs exactly but to know how physical parts of computer work, I want to live it and feel it.

    I'm planning to study C++ in future, it's a strong language.
     
  4. tecknomage

    tecknomage Registered Members

    Joined:
    Jun 12, 2012
    Messages:
    140
    Location:
    San Diego, CA USA
    Operating System:
    Windows 7
    Computer Brand or Motherboard:
    Gigabyte Z97X-UD5H
    CPU:
    Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
    Memory:
    8gb
    Hard Drive:
    4tb
    Graphics Card:
    NVIDIA Corporation GK104 [GeForce GTX 770] 1990mb memory
    Power Supply:
    750w
    Assembly (aka Assembler) languages are specific to the native code (architecture's machine code instructions) of a CPU's brand. Intel CPUs have their own native code and Motorola CPUs a separate native code, etc.

    Most the Operator Systems have many core elements written in Assembly, for example.

    Assembly is used in many coded modules (.exe, .dll, etc.) because it is much faster to execute. No translation to native code a CPU will understand.

    The problem with Assembly IS anything written IS specific to the native code of a CPU. This is why you could not run Windows programs (Intel coded) on early Macintosh that used the Motorola CPU. This is why compiler languages like 'C' are used, the generated code is not specific to a CPU brand. The generated code can be complied to a specific CPU brand later, at time of distribution. The problem is the CPU specific code contains 'junk' code that does not have to do with executing the code on the CPU, therefore the resulting app may be slower and larger size than an Assembly equivalent.

    CAVEAT: It has been many, many years since I looked into Assembly language and I'm sure things have changed. I started writing in DBase III/IV to write database software while I was in the US Navy (now retired after serving 22yrs).

    REF: Assembly Language
     
    Rustys and allheart55 (Cindy E) like this.
  5. ahmedcrow

    ahmedcrow

    Joined:
    Nov 17, 2016
    Messages:
    7
    Operating System:
    Windows 7
    Assembly is like what you said "tecknomage"
     

Share This Page