api-search bin
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

atoi

Synopsis

atoi "string" [base]

Description

Convert the string argument to an integer. The string will be interpreted according to the given base. If the base argument is left out, the command will try to guess the base based on the string. A string prefix of 0x is interpreted as base 16, 0o or 0 is interpreted as base 8, and 0b as base 2. The base argument must be between 2 and 36 inclusive.

Provided By

Simics Core

See Also

signed, print, hex, dec, oct, bin
api-search bin