write assembly for general local vars done