So it seems like Tony Stark is also a fan of Lego. Or his captors are? In either case it is always pretty funny when movies/series use code copied from somewhere, but in this case it looks like one of the designers had a sense of humour.

The code above comes from a firmware downloader for the RCX (a programmable, microcontroller-based Lego brick), written in 1998 at Stanford University by Kekoa Proudfoot.

You can follow the author or shout at him on Twitter