{"id":4581,"date":"2023-02-25T15:50:15","date_gmt":"2023-02-25T15:50:15","guid":{"rendered":"https:\/\/www.petecodes.co.uk\/?p=4581"},"modified":"2023-02-26T21:21:35","modified_gmt":"2023-02-26T21:21:35","slug":"sam-coupe-assembly-language-programming","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/sam-coupe-assembly-language-programming\/","title":{"rendered":"SAM Coup\u00e8 Assembly Language Programming"},"content":{"rendered":"\n

So you\u2019re interested in Assembly Language Programming, and you want to know how to get started down this path on the SAM Coup\u00e9? You\u2019re in the right place! I\u2019ll be taking you through, step by step, in how to get the right tools, get your development tools setup, create some code, get it assembling, test it on an emulator, write your program to disk and debug your code\u2026<\/p>\n\n\n\n

Let\u2019s get started\u2026<\/p>\n\n\n\n

Introduction<\/h1>\n\n\n\n

A Little History<\/h2>\n\n\n\n

I\u2019ve recently been reunited with a childhood computer \u2013 An MGT made Sam Coup\u00e8<\/a>.<\/p>\n\n\n

\n
\"MGT<\/a><\/figure><\/div>\n\n\n

I spent long hard summer days working to save up the \u00a3250 for, what was then, a big upgrade from my ZX Spectrum 48k+.<\/p>\n\n\n

\n
\"Sinclair<\/a><\/figure><\/div>\n\n\n

The Sam Coup\u00e8 was touted as the logical evolution of the ZX Spectrum. Originally developed by Alan Miles and Bruce Gordon in 1989 through their company Miles Gordon Technology or MGT,<\/a> It\u2019s thought roughly 250,000 machines were built in between 1989 and 1994.<\/p>\n\n\n\n

I used to write quite a few little programs for this machine back in the day, my favourite of which was an advert for Lemmings which I created in BASIC, and was published in Issue 22<\/a> of the perennial Disk based Magazine FRED <\/a>by Colin MacDonald:<\/a><\/p>\n\n\n\n

\n