News for hackers. Stuff that matters.
Re:Write Your Own Virtual Machine by aleph_minus_one on Friday December 27, 2024 @03:58PM (#42525971)
> My first 360 assembler class our first assignment: add two numbers, fault, print the crashdump and circle the answer to the ADD in the printout.

> I wrote an RPN calculator, had it do a series of calculations and print the result. Turned that in.

The teacher wanted you to learn:

1. how to write a (very simple) assembly program for 360 to add to numbers

2. how to create a fault

3. how to print a crashdump

4. how to read a crashdump

By using a RPN calculator, you learned none of these objectives.

Re:Write Your Own Virtual Machine by JoeAltmaier on Friday December 27, 2024 @05:52PM (#42526815)
Not 'using'. Writing. In assembler. A full RPN calculator.

Which, by the way, required accomplishing those bullet points many times over. Obvious to anybody who's ever written anything in assembler.