def METHOD_NAME(read_only=False):
    word = None
    if not read_only:
        print("\n==================================================\n")
        print(
            "Set a byte long word to write to memory (e.g. 0xdeadbeef): ",
            end="")
        word = int(input(), 16) & 0xffffffff
    print("\n==================================================\n")
    print("Set offset from base memory address: ", end="")
    offset = int(input())
    print("\n==================================================\n")
    print("Set number of words to read or write: ", end="")
    length = int(input())
    return word, offset, length