EASy68K  
It is currently Thu Sep 19, 2019 11:15 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Apr 19, 2008 1:09 pm 
Offline

Joined: Tue Apr 15, 2008 3:37 am
Posts: 3
Hi

Could someone please give me a simple example on the use of

BS EQU $08 ?


Thanks :D


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 19, 2008 1:44 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1102
Code:
    ORG $800

BS  EQU $08 BS  Backspace

    move.b  #'B',d1
    move.b  #6,d0
    trap    #15     display 'B'

    move.b  #'<',d1
    move.b  #6,d0
    trap    #15     display '<'

    move.b  #BS,d1
    move.b  #6,d0
    trap    #15     backspace

    move.b  #'r',d1
    move.b  #6,d0
    trap    #15     display 'r' replacing '<'

    STOP    #$2000
    END $800


_________________
Prof. Kelly


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group