2 ms·
C is a low level language, so when programmer writes "+" they get "ADD" opcode. That's what "low level" means. If one wants "+" to add then do range checks, the
by theamk 3y ago
C is a low level language, so when programmer writes "+" they get "ADD" opcode. That's what "low level" means. If one wants "+" to add then do range checks, they can use a higher level programming language (or a special function, perhaps an intrinsic, in C)
- monocasa 3y agoThere's plenty of cases in C where the use of a + operator doesn't result in any form of add instruction being emitted.