Codebase list intelhex / d363fccf-71f5-4772-b073-b71279f7b24d/main test_memory.py
d363fccf-71f5-4772-b073-b71279f7b24d/main

Tree @d363fccf-71f5-4772-b073-b71279f7b24d/main (Download .tar.gz)

test_memory.py @d363fccf-71f5-4772-b073-b71279f7b24d/mainraw · history · blame

1
2
3
4
5
6
7
8
import intelhex

ih = intelhex.IntelHex()
for i in range(65536): ih[i] = i & 0x0FF

print(len(ih))

print(ih.get_memory_size())