Vectrex System - Hardware and Periphery Vextrex Games - Modules and Cartridges Vectrex History The last Vectrex news... The museum´s shop Vectrex Links - Info and Collectors pages

Compare_Score ($F8C7)

This routine will compare two BCD score strings, to determine which one is higher. The two strings are pointed to by the U and X registers. Depending upon how the scores compare, one of the following values will be returned in the A-register:

1) The scores are the same: a = 0
2) X score > U score: a = 1
3) U score > X score: a = 2

ENTRY:

X-reg points to first score string (terminated with $80)

U-reg points to second score string

 

EXIT:

A-reg returns result of the compare

B-reg trashed

Source


 


Vectrex Last Minute RSS

Related Links and sources

Please note

The Museums Staff can not answer any programming related questions. If you have extra info about this page, if you noticed errors, please help to maintain this site. Please send us the information you have.

 

 

Back to Programming Docs Index
 
 

vectrexmuseum.com