Similar Posts
See someone's deleted message on Snap?
Hey, how's that going? I'd do anything for that. Thanks
Can I compare classes in Java with structs from C?
Bykabik334
Can I compare classes in Java with C structs? If so, what else can I compare with C? For example, methods?
What do you think of Rhineland-Palatinate?
What do you think of this state?
New cell phone and which one?
ByNikky28
I have an iPhone 6s and I'm thinking about getting a new one because my current one runs out of battery after 2 hours (I've already replaced the battery, but that didn't help) and the selfie camera is also broken. But I don't really want to spend that much money, and I don't want a…
What was the white powder?
This morning when I came into class at school there was a table at the back with a pot of water and white powder around it. I'm wondering if it was drugs or something. So it was around the pot. It was very white and very powdery, so there were no pieces or anything in…
HTML CSS background filter?
Hi, I started teaching programming a week ago and have now encountered the following problem. I have this in the HTML file in <body>: <body> <header id="header"> <ul> <li><a href="" class="active">Home</a></li> <li><a href="" class="active"><b>Tv Shows</b></a></li> <li><a href="" class="active">Movies</a></li> <li><a href="" class="active">Recently Added</a></li> </ul> <a href="" class="logo">NETFLIX</a> </header> <section> <img src="logo.png" alt="" style="width: 700px; height: 300px;…
…Maybe sometime as a small edge bite so a student gets a tiny idea how a processor gets his instruction.
In the early 1980s, the input of pure hex dumps was occasionally used to program basic operating systems stored in EPROMs.
This was, however, very prone to errors (only endless cloning of hex numbers, whose meaning was simply in the heavy amount.
Instead, Mnemonics (Assemblercode) was used for human-readable representation
Assembler code is not a machine code!
…and already requires a program (Assembler) to translate the Mnemonics into machine-readable commands.
In the early beginnings, the memory incoming with about 1 to 16kByte was still quite manageable and Assembler was the means of choice to tell the processor what to do. With increasing complexity of the tasks and availability of memory, the introduction of “prefabricated” function libraries began, whose stored machine code was only called with the transferred parameters. The age of compilers began. C, Pascal etc. displaced the assembler.
With an order you could set up procedures for the previously 20..30 lines assembler or even 200Byte machine code.
And the development continued… Today, object orientation binds data and executable code to a complex unit.
Only the machine code needed to start a normal Windows application could not be entered directly today. …and even assembler would be pure “mind.”
To this extent forget to want to program machine code.
…Besides Hannibal Lecter is free after a cell.🤯😵🥳
Even for relatively small microcontrollers, there are compilers which have translated high languages into efficient machine code.
For current PC/Apple/Android CPUs, you can’t overlook the machine code anymore. In addition to the normal commands, the special registers and data areas need to legitimize whether the code can be executed at all.
…of the same, even most high-language programmers do nothing and would burden them with “unusual” knowledge, simply because it is routine work done automatically by the compiler.
Even driver programmers will at best take care of addressing their hardware but not how the driver is integrated into an operating system.
And… a teacher on a gymnasium is likely to be in the middle of an eighth and acreage that capture the rough basics, 99% of the pupils would be asleep. (luckily… otherwise the brain would blow away)
Machine code definitely has to be of interest to someone who develops a compiler for a new processor, but this should be a type in the development department of a processor manufacturer and not a student of a gymnasium.
…For all others, the path ends with a jacket…
…I have to stop, my “Pfleger” brings my pills 🤫😏
In part, this – in approaches – is part of the computer science teaching. So at least to see how commands work… But not everywhere.
Learning really is no longer useful. It’ll be as good as ever.
Only approaches and is actually no longer needed
I taught myself this in the 80s as part of Computer AG. You don’t always have to wait for an official course.
It’s been long.
Today’s scope would simply overwhelm
Sometimes mentioning at the edge may be ok, but really used the knowledge at best one of a thousand …
Happy those who fall asleep.
Not in class, but in age.
You can’t. You’ll learn programming when you deal with it.
The bit of computer science does nothing