🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #129

subtract and divide instruction

#129
From: Robert Finch
Date: Thu, 15 Oct 2026 06:40
12 lines
1681 bytes
Added the SUBDIV (subtract and divide) instruction to Qupls4, used 
mainly with pointer arithmetic. The integer divider shortcuts divisions 
by powers of two. This was previously called PTRDIF which only did a 
right shift instead of a divide.

SUBDIV Rd, Rs1, Rs2, Rs3  ; Rd = (Rs1-Rs2)/Rs3

At work again on Qupls4. Certain aspects seem to be stabilizing, like 
the use of 48-bit instructions. The CPU currently has 64 GPRs. 8 GPRs 
may be selected as carry registers and are selected by three-bit code in 
some instructions.
Technical Details
Message-ID: <11apshg$25e7t$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Robert Finch <robfi680@gmail.com>
Newsgroups: comp.arch
Subject: subtract and divide instruction
Date: Thu, 15 Oct 2026 02:40:46 -0400
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <11apshg$25e7t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 15 Oct 2026 06:40:49 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2275581"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/2zr6q9TGJ6lkUXhlPnLaDuzqnRTOqtfQ="; posting-host="e77fb29ea6fbe7f5fcad6c428d8350dc"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zjzkIYl0ULA/SfTom979oajEmvc= sha256:cmQ/zs1M4iP/vGWeAXdqyTVlY+UwhA+V0etIimHW8wc=
	sha1:pJDp/oyIBsGdy+zwedeIDda2cw4= sha256:Olh24kV5sjDwbHi+bIt0OwNOLW82GvfFuJH8ccLVC7Q=
Content-Language: en-US