EASy68K  
It is currently Mon Sep 16, 2019 5:14 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Binary numbers
PostPosted: Sat May 02, 2009 12:14 am 
Offline

Joined: Sat May 02, 2009 12:09 am
Posts: 2
Hello,

Is it possible to specify binary numbers directly in assembler? For example I could write

MOVE.B #15,D0
MOVE.B #$0F,D0

How about:

MOVE.B #?00001111,D0

is there some symbol I could use (like '$') for the binary number?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 02, 2009 10:58 am 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1101
Yes.

MOVE.B #%00001111,D0

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 02, 2009 2:16 pm 
Offline

Joined: Sat May 02, 2009 12:09 am
Posts: 2
Many thanks Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group