View Single Post
Old 14 May 2017, 16:43   #11
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
Quote:
Originally Posted by paraj View Post
So we don't have to handle invalid BCD inputs? The original post says "do the exact same work as ABCD D0,D1" however the 68k manual could be interpreted as saying that the instruction is only guaranteed to work for valid BCD input and the output is undefined otherwise.

I'd be OK with restricting the input to only valid BCD as getting the other cases right isn't really much fun and restricts the possible implementations.
Hi paraj, the same work is the same work
(I did somersaults to consider illegal cases too )

Why resticts the implementations? I think it amplifies them..

[EDIT: but meynaf choice, is the boss here]

Last edited by ross; 14 May 2017 at 16:50.
ross is offline  
 
Page generated in 0.08755 seconds with 11 queries