Cisco interview question

implenent dictionary write function in assembly