Difference between revisions of "83Plus:BCALLs:5155"

From WikiTI
Jump to: navigation, search
 
(Z->Z=1; NZ->Z=0)
Line 14: Line 14:
 
=== Outputs ===
 
=== Outputs ===
 
* [[83Plus:RAM:8478|OP1]]=1/2/3
 
* [[83Plus:RAM:8478|OP1]]=1/2/3
* NZ if date format is Y/M/D
+
* Z=0 if date format is Y/M/D
* Z if date format is M/D/Y or D/M/Y
+
* Z=1 if date format is M/D/Y or D/M/Y
* Z and A=$20 if date format is D/M/Y
+
* Z=1 and A=$20 if date format is D/M/Y
* Z and A=$00 if date format is M/D/Y
+
* Z=1 and A=$00 if date format is M/D/Y
  
 
=== Destroys ===
 
=== Destroys ===

Revision as of 04:47, 29 September 2005

Synopsis

Unofficial Name: getDtFmt

BCALL Address: 5155

Minimum OS Version: 2.22 (not sure, could be 2.21 or 2.20)

Puts the date format in OP1.

Inputs

  • None

Outputs

  • OP1=1/2/3
  • Z=0 if date format is Y/M/D
  • Z=1 if date format is M/D/Y or D/M/Y
  • Z=1 and A=$20 if date format is D/M/Y
  • Z=1 and A=$00 if date format is M/D/Y

Destroys

  • All

Comments

  • 1=M/D/Y
  • 2=D/M/Y
  • 3=Y/M/D