def saveAllToMemoryModel(): global hexes curAddrInt = int(getStartAddress(), 16) for x in hexes: #x has the data mem.storeWordToMemory(curAddrInt, x) curAddrInt += 4
def saveAllToMemoryModel(): global hexes #print 'saveeeee : '+str(hexes) curAddrInt = int(parsehelper.getStartAddress(), 16) for x in hexes: #x has the data mem.storeWordToMemory(curAddrInt, x) curAddrInt += 4
def saveAllToMemoryModel(): global hexes curAddrInt=int(getStartAddress(),16) for x in hexes: #x has the data mem.storeWordToMemory(curAddrInt, x) curAddrInt+=4 #mem.printMemoryState()
def saveAllToMemoryModel(): global hexes #print 'saveeeee : '+str(hexes) curAddrInt=int(parsehelper.getStartAddress(),16) for x in hexes: #x has the data mem.storeWordToMemory(curAddrInt, x) curAddrInt+=4
def store32bitDataToMem(address, data): data = binaryToHexStr(data) data = (data[2:len(data)]).zfill(8) mem.storeWordToMemory(address, data)