|
|
Edit-able Art
Ways to Edit Art Graphics If you’re an individual who’s someone less than an art graphics expert, you might think that a good piece of digital art is just something that didn’t take as much as a drop of sweat from digital artists. You might think...
How Do Wireless Networks Work?
Wireless networks work using radio waves instead of wires to transmit data between computers. That's the simple version. If you're curious to know what's going on in more detail, then it's all explained in this article.
Ones and Zeros.
I'm sure...
How Multiple Server Hosting impacts your website's uptime
Please consider the following article for your ezine, ebook or web site. It is free to use as long as you include the resource box at the end. It contains 792 words. If you use this article, please send a brief message to let me know where it...
Should You Build Your Own PC?
Many people are intimidated by the inside of a computer case. At first glance all those wires and components look confusing and impossibly high-tech. The thought of actually putting all the parts together may seem impossible.
Not to worry! Even...
What Is Computer Programming Anyway?
Computer programming in plain language, is giving instructions to a computer to do something. Technically it is actually giving instructions to the microprocessor - the brain of a computer. If the instructions are only for the microprocessor,...
|
|
|
|
|
|
|
|
What Is Computer Programming Anyway?
Computer programming in plain language, is giving instructions to a computer to do something. Technically it is actually giving instructions to the microprocessor - the brain of a computer.
If the instructions are only for the microprocessor, why a computer is so complicated with numerous types of hardware accessories?
All the other hardware are to support the function of feeding the instructions to the microprocessor, and conveying the result from the microprocessor to its user - which can be a human or another computer or hardware.
Every time you want a computer to do something you have to give the instructions. Luckily people are smart enough to figure out that since we might want the computer to repeat the same process over and over again, we better store the instructions into a permanent storage - hard disk, CD, flash memory etc.
The stored instructions are called COMPUTER PROGRAM or computer software and the act of arranging the instructions is called COMPUTER PROGRAMMING and the person that is responsible to arrange the instructions is called .....COMPUTER PROGRAMMER ...do you see the pattern here?
On the lowest level, a microprocessor only understands a limited set of instructions. To a microprocessor the instruction sets and data are read in “binary” form.
Binary means 2 states – such as in on and off, high and low, left and right. To make it easier mathematically, binary normally is represented by 1 and 0. Electrically, 1 represents high voltage and 0 represents low voltage.
On the hard disk, program instructions look just like a stream of 1s and 0s. But a microprocessor reads in the stream one chunk at a time. Among normal chunk sizes are 8, 16, and 32. Chunk size is normally referred to as instruction size.
One binary data (that can be a 1 or a 0) is called a “bit”. For example a data “1001” is a 4
bit data. Where first bit is 1, second bit is 0, third bit is another 0 and the fourth bit is 1.
Bit is the computer terminology for “chunk”.
How instructions can be represented by bits?
One bit data can only represent 1 out of 2 possible states – either 1 or 0. Which in real world can be used to represent things such as on or off, high or low, black or white – any 2 states condition?
If we increase the instruction size to 2 bits, then we can represent 4 instructions – 00, or 01, or 10 or 11. If we increase the size to 3 bits then we can represent 8 possible instructions – 000, 001, 010, 011, 100, 101, 110 and 111
If you notice the trend from the above examples is that maximum possible number of instructions is the power of 2 of the bit size. That is 2 bits can represent maximum of 2^2 (which is 4) instructions, and 3 bits can represent maximum of 2^3 (which is 2x2x2 = 8) instructions.
So 8 bits data can represent maximum of 2^8 (2x2x2x2x2x2x2x2 = 256) instructions (or states) and 32 bits data can represent 2^32 (4,294,967,296) instructions.
You can actually read a program stream contents using certain editor – normally called HEX editor. Using these special text editors you can look at the instructions in binary, hexadecimal, octal, and decimal format.
I’ll cover the details of what each of the above format (hex, oct and dec) means in other article.
Permission is granted for this article to forward, reprint or distribute, use for ezine, website, offer as free bonus or part of a product for sales as long as no changes are made and the byline, copyright and the resource box is included.
About the Author
Resource Box: Copyright © Shamsul Anuar of Bouncingcube.com newsletter. To learn more about computer programming and software development visit www.bouncingcube.com and subscribe to the free newsletter
|
|
|
|
|
Tom's Hardware |
: Tom's Hardware Guide is the Internet's premiere resource for hardware news and reviews. |
www.tomshardware.com |
  |
HardwareCentral - Your source for in-depth computer hardware info. |
HardwareCentral is the #1 Hardware Information Resource on the 'Net. Featuring over 600 pages of Hardware information, including advice on System ... |
www.hardwarecentral.com |
  |
Apple - Hardware |
Find your favorite Mac, iPod and other Apple accessories. |
www.apple.com |
  |
Ace Hardware |
Nationwide (United States) hardware and home improvement retailer. Includes products, dealer locator and corporate information. |
www.acehardware.com |
  |
Computer hardware - Wikipedia, the free encyclopedia |
The hardware of a computer is infrequently changed, in comparison with software and ... Personal computers, the computer hardware familiar to most people, ... |
en.wikipedia.org |
  |
Hardware - Wikipedia, the free encyclopedia |
Hardware is the general term that is used to describe physical artifacts of a technology. ... In a looser sense, hardware can be major military equipment, ... |
en.wikipedia.org |
  |
Open Directory - Computers: Hardware |
Hardware Central - Computing-centric community providing vital information, support, tools and interaction facilities for power computer users and ... |
dmoz.org |
  |
Microsoft Hardware – Home Page |
Learn about Microsoft mice, keyboards, desktop sets, webcams, media center peripherals, gaming products, fingerprint readers and presentation tools. |
www.microsoft.com |
  |
AnandTech: your source for hardware analysis and news |
Independent hands-on reviews of computer hardware such as motherboards, graphic cards, and CPUs. |
www.anandtech.com |
  |
hardware.com - Routers, switches, firewalls, servers, memory ... |
Supplier of new and refurbished networking hardware and approved and compatible network accessories. Located in the United Kingdom. |
www.hardware.com |
  |
Slashdot: News for nerds, stuff that matters |
From the article: "Although the news caused barely a ripple of reaction in the audience of software and hardware engineers, there are industry analysts who ... |
hardware.slashdot.org |
  |
InformationWeek HardwareTech Center |
Our hardware coverage ranges from mobile computers and PDAs to servers and supercomputers, and the infrastructure issues enterprises deal with every day. ... |
www.informationweek.com |
  |
What is hardware? - A Word Definition From the Webopedia Computer ... |
This page describes the term hardware and lists other pages on the Web where you can find additional information. |
www.webopedia.com |
  |
Google Directory - Computers > Hardware |
Hardware Central - http://www.hardwarecentral.com/ Computing-centric community providing vital information, support, tools and interaction facilities for ... |
www.google.com |
  |
Gifts: Unique Gifts & Gift Ideas at Restoration Hardware |
At Restoration Hardware, you'll explore an exceptional world of high quality unique gifts. Browse our products to find gift ideas & more at Restoration ... |
www.restorationhardware.com |
  |
HwB: The Hardware Book |
HwB provides you with circuits, pinouts, cable/adapter descriptions and other technical information. |
www.hardwarebook.net |
  |
Reg Hardware: Product News and Gadget Reviews from The Register |
More Gadgets Stuff. 5th December 2006 12:09 GMT. Author: Reg Hardware ... 27th November 2006 15:31 GMT. Author: The Hardware Widow ... |
www.reghardware.co.uk |
  |
red hat hardware compatibility lists |
hardware.redhat.com/ - Similar pages |
|
  |
TrueValue.com |
Here's our tip to hang strands of lights with ease. Jeanenne & Jim Tucker Plantation True Value Hardware Richmond, TX ... |
www.truevalue.com |
  |
A complete illustrated Guide to the PC Hardware |
A complete illustrated Guide to the PC Hardware, Logic and Architecture. 500 easy-read articles about the modern PC. Understand the basic architecture of ... |
www.karbosguide.com |
  |
|