Reply to post: Re: REPLs

AsmREPL: Wing your way through x86-64 assembly language

Michael Wojcik Silver badge


Were CDR and CAR actually machine code on the machine it was first written on?


car stands for "Contents of the Address part of Register", and if memory serves the D in cdr is for "Decrement part". McCarthy writes: "The motivation for implementing car and cdr separately was strengthened by the vulgar fact that the IBM 704 had instructions (connected with indexing) that made these operations easy to implement". See page 4 of the paper I linked to in my other post.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2022