Bài chữa · 3
Numbers
Suddenly I realized that any executable program is a very long number itself.
It seemed strange, but I've never thought in that way. And now I think it's amusing.
An executable machine code is a sequence of nulls (we usually say ones and zeroes, also a null in programming is an object and not a number) and ones 00000101....
It means that any program could be represented in decimal: (this would be a really bad representation, a hex representation is easier to read and to interpret if you're a really smart chap)
When we take a photo of something, we just write a very long number. When we feed this number to a program later, it will interpret the number to a photo on the screen.
Or when we power on our cellphone, it reads in order different numbers from flash memory and the result is - android with a lots of applications.
And so on.
Maybe everything around us are only numbers itselfthemselves? (I'm not really sure whether to treat everything as singular or plural)
on a side note you can actually read the machine code if you have the instruction set of your target, this is usually a list of all instructions that the target can execute in assembly code, it's really simple once you get the concept, you can even program in binary!
Bạn muốn tiến bộ xa hơn?
Hãy tham gia cộng đồng học tập này và thử nghiệm những bài tập miễn phí!
Đừng bỏ lỡ cơ hội học ngoại ngữ ngay tại nhà. Hãy xem danh sách các gia sư ngôn ngữ giàu kinh nghiệm của chúng tôi và đăng ký buổi học đầu tiên ngay hôm nay!
Bắt đầu học hôm nay
