Esempio n. 1
0
def saveAllToMemoryModel():
    global hexes
    curAddrInt = int(getStartAddress(), 16)
    for x in hexes:
        #x has the data
        mem.storeWordToMemory(curAddrInt, x)
        curAddrInt += 4
Esempio n. 2
0
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
Esempio n. 3
0
def saveAllToMemoryModel():
    global hexes
    curAddrInt=int(getStartAddress(),16)
    for x in hexes:
        #x has the data
        mem.storeWordToMemory(curAddrInt, x)
        curAddrInt+=4
    #mem.printMemoryState()
Esempio n. 4
0
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
Esempio n. 5
0
def store32bitDataToMem(address, data):
    data = binaryToHexStr(data)
    data = (data[2:len(data)]).zfill(8)
    mem.storeWordToMemory(address, data)
Esempio n. 6
0
def store32bitDataToMem(address, data):
    data = binaryToHexStr(data)
    data = (data[2:len(data)]).zfill(8)
    mem.storeWordToMemory(address, data)