교정 · 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!
더 빨리 진행하고 싶나요?
이 학습 커뮤니티에 참여하고 무료로 연습해보세요!
집에서 편안하게 언어를 배울 수 있는 기회를 놓치지 마세요. 경험 많은 강사진을 살펴보고 지금 바로 첫 수업을 신청하세요!
오늘 학습 시작하기
