// File: /workspace/github_cpp_makefile_star2_O3/sthapliyal37[P]Microprocessor_8085_Updated/DataTransfer.cpp
// Function: SHLD(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
void SHLD(string instruction,string* registers,bool* flag,map<string,string>&memory){
	
	int length=instruction.length();
	if(length==4)
	{
		if(validityAddress(instruction)&&validityAddress(increaseAddress(instruction)))
		{
			memory[instruction]=registers[6];
			memory[increaseAddress(instruction)]=registers[5];
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq 0x8(%rdi), %rdx
cmpl $0x4, %edx
jne 0xc303
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq -0xb8(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rdi), %rsi
addq %rsi, %rdx
leaq -0xc8(%rbp), %r12
movq %r12, %rdi
callq 0x31ec
movq %r12, %rdi
callq 0x2997
testb %al, %al
je 0xc242
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x31ec
leaq -0xa8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x407c
leaq -0xa8(%rbp), %rdi
callq 0x2997
movl %eax, %r12d
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc227
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xc245
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc245
xorl %r12d, %r12d
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
je 0xc260
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
testb %r12b, %r12b
je 0xc303
leaq 0xc0(%rbx), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0xa1e4
movq %rax, %rdi
movq %r12, %rsi
callq 0x2110
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %r15
movq %r15, %rdi
callq 0x31ec
leaq -0x88(%rbp), %rdi
movq %r15, %rsi
callq 0x407c
leaq -0x88(%rbp), %rsi
movq %r14, %rdi
callq 0xca98
addq $0xa0, %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2110
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc2ee
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xc303
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc341
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc341
movq %rax, %rbx
jmp 0xc378
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xc38a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc38a
movq %rax, %rbx
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc378
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xc3a5
movq -0x58(%rbp), %rsi
jmp 0xc39d
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
je 0xc3a5
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2320