3 ms·
non-LISP derived? There's no difference between code and data in assembly language, but it's not LISP derived. Having no distinction between code and data isn
by axod 16y ago
non-LISP derived?
There's no difference between code and data in assembly language, but it's not LISP derived.
Having no distinction between code and data isn't a LISP invention, it's the 'default' on computers.
- listic 16y agoI think, you are referring to machine code, not assembly langauage. In assembly, code looks like cmp [eax], ebx jg bigger Data looks like ans db 42 msg db "Hello World!",0 They are not interchangeable.
- axod 16y agoSame difference really... mov edi, blah mov byte [edi+1], 17 // Modify the instruction to mov al, 17 // Later... blah: mov al, 7 There's pretty much a 1->1 mapping between assembly language and machine code, so making a distinction doesn't make too much sense IMHO
- sambeau 16y agoHaving no distinction between code and data is the 'default' on Von Neumann architectures. Harvard architectures kept code and data in physically separate storage. http://en.wikipedia.org/wiki/Von_Neumann_architecture http://en.wikipedia.org/wiki/Von_Neumann_architecture http://en.wikipedia.org/wiki/Harvard_architecture http://en.wikipedia.org/wiki/Harvard_architecture