From:  The Natural Philosopher <tnp@invalid.invalid>
Date:  25 Oct 2024 01:16:14 Hong Kong Time
Newsgroup:  news.alt119.net/uk.d-i-y
Subject:  

Re: OT: Arithmetic order of operations

NNTP-Posting-Host:  null

On 24/10/2024 17:54, Andy Burns wrote:
> SteveW wrote:
> 
>> I'm making exactly the opposite point. Andy burns stated that "In 
>> assembly language, every branch is a GOTO".
>>
>> I was pointing out that that was incorrect, as there are specific 
>> instructions that are "GOSUBs", not GOTOs, as GOTOs don't store the 
>> return address.
> 
> Are there instruction sets that include instructions such as 
> "CALLifnotzero label:" rather than "GOTOifnotzero label:" ?
> 
> In my (6502/6809) head, JMP is a GOTO, JSR is GOSUB and Bxx conditional 
> branches are relative GOTOs

I think that applies to 6502s

Intel/Zilog used conditional calls, and conditional jumps. And even 
conditional returns

-- 
Socialism is the philosophy of failure, the creed of ignorance and the 
gospel of envy.

Its inherent virtue is the equal sharing of misery.

Winston Churchill