The Stack How Electrons Are Moved Using Programming in The Abstraction Layer
The Stack How Electrons Are Moved Using Programming in The Abstraction Layer
Barodi , 2020-01481
THE STACK: HOW ELECTRONS ARE
MOVED USING PROGRAMMING
Week 12 Top-Up:IN
TheTHE
Stack ABSTRACTION LAYER
In order to know how electrons are moved by code, one must understand the abstraction levels in computer
architecture. It may seem magic that these electrons that cannot be seen nor touch – cannot be perceived by
humans; can be moved by programs. For this to be possible, there’s a bunch of devices and series of processes
that must be done in order to manipulate the electrons which is the lowest in the abstraction layer using an
application software – the highest in the abstraction layer.
In programming, you are asked to write a code that will perform a specific
Application task. You will then think of an algorithm that will efficiently perform this task, and
Software later on implement its program on a programming language you wish.
Programs Transforming these human-readable algorithms to computer-readable programs
will acquire many commands in a computer’s language.
Programs are then compiled into a set of assembly command which are
allowed by the instruction set architecture. This assembly code is then
Architecture translated by an assembler into streams of ones and zeroes – that will be stored
Instruction in the memory of the computer. In perspective, one line of code in Java may
Set equate to several lines of ones and zeroes in machine code. The complexity of
these machine codes are the reasons why humans use high-level programming
languages to manipulate the computer’s behavior more easily.
Digital
These logics are built upon by digital circuits such as the AND, OR,
Circuits
NOT gates that performs the basic operations after the gates’ names.
Gates
Devices These logic gates are comprised of simpler devices called a transistor
Transistors where electrons can be manipulated. These transistors will have either one or
zero which reflects the energy level of an electron. Even though transistors
have no moving parts, it acts as switches and they work through the
fundamental concept “like charges repel and opposite charges attract”. Since
Physics electrons have only negative charge, absence of electrons can be thought as
Electrons “positive charge” or a “hole” which makes electrons move.
For a code to move an electron takes an extensive process – both perceivable and not. It always has been
amazing and somewhat magical in the field of computer engineering and engineering as a whole. There’s so much
discoveries and advancement that have been made and at the same time, more to come. As the old saying goes,
the future is now thanks to science!