KUBLA KHAN

1797 by Samuel Taylor Coleridge In Xanadu did Kubla Khan A stately pleasure-dome decree: Where Alph, the sacred river, ran Through caverns measureless to man Down to a sunless sea. So twice five miles of fertile ground With walls and towers were girdled round; And there were gardens bright with sinuous rills, Where blossomed many […]

Read More KUBLA KHAN

OOP in C++ -1

OOP (Object-Oriented Programming) is a particular type of programming, were you can create objects which can iterate each other. Every object has some data, usually known as attributes, and has  some functions, usually known as methods. So what is different from other languages? Each object can interact with the others. Let’s talk about classes, which […]

Read More OOP in C++ -1

Assembly -5

How can we indicate a register in memory? Today we’ll discuss about the addressing modes. But, what am I talking about? Yes, we knew that a memory is a collection of register (with a fixed length depending on the architecture of the computer) and each register has an address thanks to which we can refer […]

Read More Assembly -5

Sets (in Math)

Georg Cantor, one of the founders of set theory, gave the following definition of a set at the beginning of his Beiträge zur Begründung der transfiniten Mengenlehre: A set is a gathering together into a whole of definite, distinct objects of our perception [Anschauung] or of our thought—which are called elements of the set. So […]

Read More Sets (in Math)

Assembly -4

What is memory? How does it work? Memory is composed of hardware integrated circuits, in which there are a lot of registers that can collect binary information. You can imagine it as a big matrix in which every element is a register and every row is an information. For example, let’s suppose we have a […]

Read More Assembly -4

Assembly -3

Central Processing Unit (known as CPU) is like our mind. It controls everything in the computer. How does it? It sends enable/disable signals to the other components when it needs them. Every operation in the Personal Computer could be divided into 3 section: fetch, operand assembly and execute. The CPU does it in loop. – […]

Read More Assembly -3

Assembly -2

As you’ve seen before, assembly isn’t as simple as you could think. In fact, If we use so many instruction to do an addition, how many instruction does a complex instruction need? So there are a lot of books, a lot of training that we have to do, to learn all about this peculiar language. […]

Read More Assembly -2