Showing posts with label Assembly Language. Show all posts
Showing posts with label Assembly Language. Show all posts

September 28, 2011

C Assembly Programming - Assembler

Assembly Programming Series by MyCFiles.com
Now this is what you guys were waiting for. This is where real assembly starts. . .

Before you read this part read privous 2 parts
Introduction to C Assembly Programming - Part 1
C Assembly Programming – Binary Oprations and Concept of Registers

This Part Consist
# ASSEMBLER
# ASSEMBLY INSTRUCTIONS
# A SHORT PROGRAM

ASSEMBLER
an assembler to assembly is what compiler is to c it is used to convert our .asm code into .obj and then linked to form .exe.

September 15, 2011

C Assembly Programming - Binary Operations and Concept of Registers

Assembly Programming series by MyCFiles.com
This post will explain different binary operations and the concept of registers.
Read Part 1 First - Introduction to C Assembly Programming


THEORY
When it comes to assembly or lower level programming there is no way to ignore the concept of bits and bytes and therefore the operations on them. Believe it or not if you neglect binary operations you miss 60 % and therefore whole language..




WHY BINARY ONLY???
Actually the whole essence of bits and bytes lies in the way electronic instruments work. Since it is 100 times easy to work with only 2 nos (binary sys) then 10 (dec sys). Hence binary was adopted in electronics. You better grab a book on Boolean algebra to dig it out how computer internals work (call it ALU whatever).

September 8, 2011

Introduction to C Assembly Programming - Part 1

Hello everyone! we have started Assembly Programming series.. Here we going to talk about assembly Programming which is a low-level language..
Introduction to C Assembly Programming - Part 1

Here we going to talk about what is assembly language and what is its scope in turbo c.

The question is too long to explain so i will divide it in parts and let you know one by one

you must have heard that assembly language as BLACK ART suited only to hackers and computer wizards the reason is that it allows both speed and greater control to computer resources and hardwares.It is a language used to do tiny tasks in a large program.A simple program in assembly requires more lines of code than analogus C code.In assembly their aint any predefined functions like printf() or cout instead you must rely on hardware(BIOS functions) for it, thats the hell with assembly.
Since different processors have different config the program for one processor becomes unportable for another processor another flaw.

Twitter Delicious Facebook Digg Stumbleupon Favorites More