On 11/4/26 12:51, Charlie Gibbs wrote:
> On 2026-11-04, Peter Flass <Pet…@Iron-Spring.com> wrote:
>
>> On 11/3/26 13:29, Lawrence D’Oliveiro wrote:
>>
>>> On Tue, 3 Nov 2026 12:45:09 +0100, Carlos E. R. wrote:
>>>
>>>> I know at least one guy working on IBM mainframes, and he tells me
>>>> they are in high need of good assembler programmers.
>>>>
>>>> They need high i/o with very large databases.
>>>
>>> Something not quite right there. Hand-coded assembly language only
>>> makes sense for minimizing CPU usage. If you’re doing lots of I/O,
>>> then the CPU is not the bottleneck, so trying to hand-tune assembly
>>> code is a waste of time.
>>
>> I kind of agree. As a former assembler programmer - at one time it was
>> my first language - I'd like it to be true (although I'm out of the job
>> market), but I can't see it. These days most HLL code is more optimized
>> than a lot of assembler. A good assembler programmer would not make a
>> lot of these optimizations due to lack of readability.
>
> A mediocre assembly language programmer would not let lack of
> readability stand in the way. And once you get into self-modifying
> code there are all sorts of horrible things you can do.
>
1. "standard" things like converting a branch to a nop or back. I know 1401 Autocoder people used to do horrible things like using part of an instruction as a constant.
2. You can do anything as long as you comment it. I once had a sequence to test-store-conditional branch, for some reason I don't recall, bit I tagged it with comments saying "these three instructions must be kept together".