Fandom

Magic Lantern Firmware Wiki

2.0.4 Library Func: strcmp()

328pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Parent: http://magiclantern.wikia.com/wiki/2.0.4_AJ


[2010_06_01]: strcmp() function located at 0xFF87CBE8

ROM:FF87CBE8 ; +-------------------+
ROM:FF87CBE8 ; | AJ_strcmp.R0.n.R1 |
ROM:FF87CBE8 ; +-------------------+
ROM:FF87CBE8 ;
ROM:FF87CBE8 ; int r0 = parm1 = Null term string1
ROM:FF87CBE8 ; int r1 = parm2 = Null term string2
ROM:FF87CBE8 ;
ROM:FF87CBE8 ; int RETURN_R0 = 0 = Strings same up until either is Null_byte
ROM:FF87CBE8 ;              != 0 = Point at diff [parm2+N] - [parm1+N]
ROM:FF87CBE8
ROM:FF87CBE8 AJ_strcmp.R0.n.R1

Also on Fandom

Random Wiki