Ethiopian multiplication: Difference between revisions

(→‎{{header|MMIX}}: replace program with a version with separate functions 'odd,'halve' & 'double')
Line 806:
2H SUB str,str,1 % update buffer pointer
DIV acc,acc,10 % do a divide and mod
GET $0,rR % get digit from special puposepurpose reg. rR
% containing the remainder of the division
INCL $0,'0' % convert to ascii
Anonymous user