Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!weretis.net!feeder9.news.weretis.net!panix!.POSTED.2602:f977:0:1::5!not-for-mail From: Rich Alderson Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN-like languages Date: 30 Sep 2024 16:51:33 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 32 Sender: alderson+news@panix5.panix.com Message-ID: References: Injection-Info: reader1.panix.com; posting-host="2602:f977:0:1::5"; logging-data="2991"; mail-complaints-to="abuse@panix.com" X-Newsreader: Gnus v5.7/Emacs 22.3 Bytes: 2225 The Natural Philosopher writes: > On 29/09/2024 05:26, Charlie Gibbs wrote: >> That's assuming your machine has a stack, which the IBM 360 didn't. > Well there are probably other ways to implement a stack than having it > built into a computer. > Like a having a general purpose register reserved for a stack pointer > and manually creating push pop call and return as macros Or actual machine instruction codes, as on the PDP-6 and PDP-10: PUSH ac,address ;any accumulator can be a stack pointer POP ac,address PUSHJ ac,address ;address of next instruction on stack, jump to address POPJ ac, ;pop address from stack and jump to it There are also subroutine call instructions which do not use a stack, instead using either the "save return address in first instruction of subroutine" or "save the return address in an accumulator". The former is nonreentrant; the latter allows placing parameters inline, with address manipulation via indexing to access and later skip over them. Lovely machines to program. -- Rich Alderson news@alderson.users.panix.com Audendum est, et veritas investiganda; quam etiamsi non assequamur, omnino tamen proprius, quam nunc sumus, ad eam perveniemus. --Galen