What is the maximum memory size on this machine

Computer Science

Consider the following structure of the instruction register.
op codeaddress-1address-2
6 bits18 bits18 bits

What is the maximum memory size on this machine?