this post was submitted on 24 Nov 2024
4 points (100.0% liked)
Programming
2 readers
1 users here now
A magazine created for the discussion of computer programming-related topics.
Rules
Please keep submissions on topic and of high quality. No image posts, no memes, no politics. Keep the magazine focused on programming topics not general computing topics. Direct links to app demos (unrelated to programming) will be removed. No surveys.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@harrysintonen@infosec.exchange How is the return address handled? Stored in a memory location on a subroutine call or do you have to also handle that manually as well?
@semit0ne You "mark" an address as the return address, and then there's a special command that returns execution to the marked address (PDF pages 60 and 61). I don't know if it internally is implemented by using some offset on a reserved line. Considering how the drum memory was in fact chosen to reduce number of tubes and logic, it might well be.
https://en.wikipedia.org/wiki/Link_register
@harrysintonen@infosec.exchange Oh, that seems quite convoluted at first glance. I see that in order to fully appreciate the design I would have to read more than two or three pages of the manual to get a goot idea of how the lines on the drum are used.