Hacker News new | past | comments | ask | show | jobs | submit login

C: AKA "portable assembler" :-)



TI has a DSP processor where the assembly looks quite much like the early days of C:

    mov reg1, reg2    ==>  reg1 = reg2
    mov reg1, [reg2]  ==>  reg1 = *reg2
    add reg1, reg2    ==>  reg1 += reg2
And so on.


looks sort of like PDP 11 assembler, particularly the [] brackets for indirect access through a register.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: