Return-Path: <siggi@sort.is>
Delivered-To: craig@sbc-85.com
Received: from gator4254.hostgator.com
	by gator4254.hostgator.com with LMTP
	id uFnlK4S6rWhThwwAcizydQ
	(envelope-from <siggi@sort.is>)
	for <craig@sbc-85.com>; Tue, 26 Aug 2025 08:45:40 -0500
Return-path: <siggi@sort.is>
Envelope-to: 052922@sbc-85.com
Delivery-date: Tue, 26 Aug 2025 08:45:40 -0500
Received: from mail-ed1-f43.google.com ([209.85.208.43]:42098)
	by gator4254.hostgator.com with esmtps  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.98.1)
	(envelope-from <siggi@sort.is>)
	id 1uqtzY-00000003SGV-1SvX
	for 052922@sbc-85.com;
	Tue, 26 Aug 2025 08:45:40 -0500
Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-61c212c3986so5218754a12.0
        for <052922@sbc-85.com>; Tue, 26 Aug 2025 06:45:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=sort.is; s=google; t=1756215928; x=1756820728; darn=sbc-85.com;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=OEk5gez8HPkzDINPh4F4xc/D0F+wUQKTjcj0plPUYZw=;
        b=WfZ/5JnRfPm9GgBC/eRrF1A2h69XtobfM2/aHBLztuG3fLZe68tJHB5OpRN3ALv28w
         KOFOOJQ3OPyZCxhUEkCP2yAr3WmleHIgEZjYp3NL2/X/8fzPIx5o3Ii+ttPchrCT+W1D
         +WYMOwSlD5YRr9XL9J7wWPOWXSkug7jLEVyWe+V6mUkgkH5qpcN1Xp4nJsg16BXuerzJ
         cc7GaTnjMTTZ/L/90/406K7XMvhl6EF33kFBvztt5lidt1RSO6UJJbgvrJiL8liPh7a+
         CPyKCZ76Vki3UWfBU4vCBAzo/5ao4eJKLCeuRciUFiiFTHSjOh8iyG75ks/psSJsbxQs
         rlxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1756215928; x=1756820728;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=OEk5gez8HPkzDINPh4F4xc/D0F+wUQKTjcj0plPUYZw=;
        b=pT6MTzHusVDDhq7QGLonFFQ/U2/G3nrIMswMAKTQCr/mmQijdJN53whH48Vrn1F7Lb
         8C7AFbTl3YS0vaOJzei0CpZZ8keEqPCCL9rxiFjqR3ieEeMP4+CkRJkFkEUOHwAXTy9F
         VAz0BOBslA2bO/NbpkyrtFv9WJcJJe7jJg7nJDT7E+GKNbbnl7TZQ7RhdiGQIiCAYF+r
         zNDp5c0beytR8+7ndnKEWAE0UPgoOBuvQdGvWsoEdZxSaGJapNms7u33yhJJ8k68Iz8+
         +/trIfi95qnbYrOalk63IQNP+w9D0YZAjWP/zAHHIqRIJVe1NnvsOGGwiTzm6o41nu3l
         5B9g==
X-Gm-Message-State: AOJu0YwquGgGVL2Fxghe60wG4fXdkzRXQ5Jy3Q/eNuEhkftCIDW+/1CK
	SNjSv6J5BjonT6JFje8o3HPLiSE1Ki5UUzvQypltyUzS2Ob5BXpa5gKxu/RN1LqS+0XdJYCOvUc
	mGxgvv53trU36I+3ErwBPZwdgGyiWtekyFl/nH4eE4ruyzXUcl3V03TI=
X-Gm-Gg: ASbGncvj47yNic77ue/Opn8MWiz6QDWdAsVFBd+3+YZsUkqcIQRq2YynNXZsmNI0L+F
	mVUshsqMjjsnqaNUKh33xRa8yBPy4OUwiMbRvwvGbeHOrHezsSQWQ1lm17p0ckmEqVLO/uB0iYN
	EBN8yLzUt7V7vx2pe6FO1IFDNf24N9wcUMcRmSj6QvjtuVAbWm8+7MD5v47hMczfhc6d+IbhT4b
	NJb1SanasdEZm3vYUlf+jBJVMZ/2/M9vOP7jBEC
X-Google-Smtp-Source: AGHT+IEOpn8pHUdac/EBnkjx5WsM4AnL7EnXb4WcbH2FWELQ+ijFB7A1YxOhxiipVNl09TAK/woKpnzKgQ1jRzQ1yTw=
X-Received: by 2002:aa7:de97:0:b0:61c:7a1a:9ba with SMTP id
 4fb4d7f45d1cf-61c983b89e2mr1178466a12.1.1756215928193; Tue, 26 Aug 2025
 06:45:28 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?U2lndXLDsHVyIMOBc2dlaXJzc29u?= <siggi@sort.is>
Date: Tue, 26 Aug 2025 09:45:17 -0400
X-Gm-Features: Ac12FXwQsxGk08IbTU7WH6e4cqsXIq0Wy4AF4df1u-Pdq4JQT77eTfxcJd9_jlw
Message-ID: <CACtr8n1pgt+J7LSu7xL9Ehf9demxNbiB==YtyLMAzV0t3t-nTg@mail.gmail.com>
Subject: Ghidra disassembler for SC/MP
To: 052922@sbc-85.com
Content-Type: multipart/alternative; boundary="0000000000008c95f8063d44e2cc"
X-Spam-Status: No, score=-4.4
X-Spam-Score: -43
X-Spam-Bar: ----
X-Spam-Flag: NO

--0000000000008c95f8063d44e2cc
Content-Type: text/plain; charset="UTF-8"

Hey there,

I saw your videos about the Nibbler, and it piqued my curiosity about the
SC/MP processor. The instruction and register sets are pretty unique to my
eye, though in a way much better put together than the initial MC6800
instruction set
<https://sigurasg.github.io/reversing-the-2465/2024/06/18/mc6800-limitations.html>.
The SC/MP will have no problem with reentrant programming and it should be
relatively easy to e.g. write a C compiler for it.

In any case, to understand the processor better, I wrote a Ghidra/Sleigh
language spec <https://github.com/sigurasg/GhidraSCMP> for it. This is very
early stage code, but the spec does seem to disassemble SC/MP code without
issue.
As I haven't implemented the semantics for most of the instructions, the
Ghidra decompiler is still pretty useless. I'm not sure how good it will
ever do, as the SC/MP instruction set is somewhat unorthodox. My
GhidraMC6800 language spec does quite well with the MC6800, so perhaps
Ghidra will figure it out...

Is there some kind of forum or mailing list you know of where SC/MP nerds
who might appreciate this and/or might be willing to help hang out?

Siggi

--0000000000008c95f8063d44e2cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hey there,<div><br></div><div>I saw your videos about the =
Nibbler, and it piqued my curiosity about the SC/MP processor. The instruct=
ion and register sets are pretty unique to my eye, though in a way much bet=
ter put together than the <a href=3D"https://sigurasg.github.io/reversing-t=
he-2465/2024/06/18/mc6800-limitations.html">initial MC6800 instruction set<=
/a>. The SC/MP will have no problem with reentrant programming and it shoul=
d be relatively easy to e.g. write a C compiler for it.</div><div>=C2=A0=C2=
=A0</div><div>In any case, to understand the processor better, I wrote a <a=
 href=3D"https://github.com/sigurasg/GhidraSCMP">Ghidra/Sleigh language spe=
c</a> for it. This is very early stage code, but the spec does seem to disa=
ssemble SC/MP code without issue.</div><div>As I haven&#39;t implemented th=
e semantics for most of the instructions, the Ghidra decompiler is still pr=
etty useless. I&#39;m not sure how good it will ever do, as the SC/MP instr=
uction set is somewhat unorthodox. My GhidraMC6800 language spec does quite=
 well with the MC6800, so perhaps Ghidra will figure it out...</div><div><b=
r></div><div>Is there some kind of forum or mailing list you know of where =
SC/MP nerds who might appreciate this and/or might be willing to help hang =
out?</div><div><br></div><div>Siggi</div></div>

--0000000000008c95f8063d44e2cc--
