Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In an assembly context, cmp means 'set the flags as though you subtracted but don't do the subtraction'. This particular misdesign is from before C.


I blame Ben Franklin for guessing wrong about the sign of the charge of the electron.

(I keed, I keed )




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: