Skip to main content
5 events
when toggle format what by license comment
May 19 at 16:13 comment added Jay Well, yes, IF all computers had the same instruction set, then you could write one assembly language that would run on all of them. But that's a big IF. IF everyone in the world spoke English, then I could go anywhere in the world and people would understand what I say. IF pigs could fly, then they'd have wings.
Apr 13, 2017 at 12:48 history edited CommunityBot
replaced http://cs.stackexchange.com/ with https://cs.stackexchange.com/
Sep 9, 2015 at 10:54 comment added PJTraill If by assembly language you mean one giving complete control over the machine code generated for a specific type (or family) of hardware, it would be possible to define one language ”for all computers” in our world at a given moment, but it would have to keep changing. It would admittedly (if well designed) shorten the learning curve for coding for a new architecture, but I expect any job you would want to do with it rather than a compiler would only apply to a tiny fraction of architectures. That computers are the same at an abstract level is a red herring, it is about machine code.
Sep 7, 2015 at 19:17 comment added Steve Jessop "if an arguably tiny one" -- there's your two kinds of programmer right there. Those who consider C a low-level language because its basic operations look a lot like the kinds of things that appear in CPU instruction sets, and those who consider C a high-level language because it's not the same instruction set as the machine.
Sep 7, 2015 at 18:48 history answered Raphael CC BY-SA 3.0