Hacker News new | past | comments | ask | show | jobs | submit login

Yes a NOP is an instruction to do something. It tells the cpu to not change state for a period of time equal to how long it takes to execute the NOP.



How about in a higher level language? C program that is all semicolons vs. a book of all semicolons? Neither computer nor human is any more knowledgeable after reading it.


I haven't compiled a C program in years so I'm honestly not sure what an all ; program would do. But assuming it would just do nothing, well that is still an instruction to the computer. Delays are very meaningful. Serial communication is a great example.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: