English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 06 April 2021, 04:31   #1
WAKD
Registered User

 
Join Date: Dec 2020
Location: Grangemouth
Posts: 26
Assembly Error

Hi. I am trying out a short course in machine code and some of the program listings include:

BLK.1 1,0

Using various assemblers they create the same error saying it has an illegal operation or size to big.

I have attached an example of a listing because I cannot see an issue.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	52
Size:	27.0 KB
ID:	71525  
WAKD is offline  
Old 06 April 2021, 09:01   #2
torsti76
Registered User

 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 320
I'm not fluid in assembler, but doesn't it have to read
Code:
blk.l ...
instead of
Code:
blk.1 ...
?
torsti76 is offline  
Old 06 April 2021, 09:22   #3
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,624
Yes, it's not a number but a size specifier (L for longwords).
StingRay is online now  
Old 06 April 2021, 10:01   #4
Hedeon
PPC Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,475
Wow, the l is exactly the same as the 1 in that listing. I feel the frustration :-)
Hedeon is offline  
Old 06 April 2021, 20:43   #5
WAKD
Registered User

 
Join Date: Dec 2020
Location: Grangemouth
Posts: 26
Thanks for the advice. Yes its hard to distinguish the difference between 1 and I but, I wondered if you could help me with the information and question attached please?
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	33
Size:	113.3 KB
ID:	71530  
WAKD is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly Hex Help Sim085 support.Other 4 06 December 2018 22:07
Assembly reference bobster Coders. Tutorials 1 20 March 2013 23:16
Assembly and bsdsocket_lib.i fuzzylogic Coders. General 2 29 February 2012 14:45
RawDoFmt() in Assembly redblade Coders. General 6 02 June 2009 14:25
assembly TV L8-X Amiga scene 2 04 August 2002 02:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.06823 seconds with 14 queries