Skip to content

Is it possible to get rid of those padding byte in list(ih)? #55

@jfongattw

Description

@jfongattw

from intelhex import IntelHex
ih = IntelHex('pimp_my_xor.hex')
ih.minaddr()
256
ihx = ih[0x100:0x103]
ihx.tobinstr()
b'\x89\xc2\x8d'
list(ihx)
[255, 255, 255, 255, 255, 255, 255, ..., 255, 255, 137, 194, 141]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions