added different architecture functionality amod=1 and amod=2