It is currently Wed Jun 03, 2020 2:33 am

 All times are UTC

 Page 1 of 1 [ 4 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: convert 6 digit 2's compliment binary to bcdPosted: Thu Feb 21, 2013 1:30 am

Joined: Thu Feb 21, 2013 1:27 am
Posts: 2
does anyone know how to implement a routine to convert 2's compliment binary to a bcd representation in 68k.? the number will be at most 6 digits in length, ive been trying for hrs and havent gotten anywhere.

Top

 Post subject: Re: convert 6 digit 2's compliment binary to bcdPosted: Thu Feb 21, 2013 2:10 pm

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1122
Have a look at the algorithm posted here:
http://www.eng.utah.edu/~nmcdonal/Tutor ... rsion.html

_________________
Prof. Kelly

Top

 Post subject: Re: convert 6 digit 2's compliment binary to bcdPosted: Fri Feb 22, 2013 4:56 am

Joined: Thu Feb 21, 2013 1:27 am
Posts: 2
i understand how to do it in a high level language but not in 68k

Top

 Post subject: Re: convert 6 digit 2's compliment binary to bcdPosted: Fri Feb 22, 2013 2:28 pm

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1122
It sounds like a homework assignment. We won't do your homework for you. If you have a specific question about your code we will help.

_________________
Prof. Kelly

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 4 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: No registered users and 7 guests

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

Search for:
 Jump to:  Select a forum ------------------ EASy68K Forum    FAQ    Latest Features    EASy68K Questions    68000 Programming Questions    Wish List    Wishes Granted    Undocumented Features    Documented Features    General Discussion    EASy68K Projects