def assemble_all(asmcode, pc=<NUM_LIT:0>, fork=DEFAULT_FORK):
asmcode = asmcode.split('<STR_LIT:\n>')<EOL>asmcode = iter(asmcode)<EOL>for line in asmcode:<EOL><INDENT>if not line.strip():<EOL><INDENT>continue<EOL><DEDENT>instr = assemble_one(line, pc=pc, fork=fork)<EOL>yield instr<EOL>pc += instr.size<EOL><DEDENT>
Assemble a sequence of textual representation of EVM instructions

        :param asmcode: assembly code for any number of instructions
        :type asmcode: str
        :param pc: program counter of the first instruction(optional)
        :type pc: int
        :param fork: fork name (optional)
        :type fork: str
        :return: An generator of Instruction objects
        :rtype: generator[Instructions]

        Example use::

            >>> assemble_one('''PUSH1 0x60\n \
                            PUSH1 0x40\n \
                            MSTORE\n \
                            PUSH1 0x2\n \
                            PUSH2 0x108\n \
                            PUSH1 0x0\n \
                            POP\n \
                            SSTORE\n \
                            PUSH1 0x40\n \
                            MLOAD\n \
                            ''')