// File: /workspace/github_cpp_makefile_star2_O1/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 0xc3a8
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rdi), %rsi
addq %rsi, %rdx
leaq -0x68(%rbp), %r12
movq %r12, %rdi
callq 0x3224
movq %r12, %rdi
callq 0x2991
movl %eax, %r13d
testb %al, %al
je 0xc2a0
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x3224
leaq -0xc8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x4108
leaq -0xc8(%rbp), %rdi
callq 0x2991
movl %eax, %r12d
jmp 0xc2a3
xorl %r12d, %r12d
testb %r13b, %r13b
je 0xc2e0
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc2c7
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc2e0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xc2f9
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
testb %r12b, %r12b
je 0xc3a8
leaq 0xc0(%rbx), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0xa27a
movq %rax, %rdi
movq %r12, %rsi
callq 0x2110
leaq -0x78(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x88(%rbp), %r15
movq %r15, %rdi
callq 0x3224
leaq -0xa8(%rbp), %rdi
movq %r15, %rsi
callq 0x4108
leaq -0xa8(%rbp), %rsi
movq %r14, %rdi
callq 0xcb68
addq $0xa0, %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2110
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc390
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xc3a8
movq -0x78(%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 -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc3e6
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc3e6
movq %rax, %rbx
jmp 0xc423
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xc438
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc438
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc423
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xc451
movq -0x78(%rbp), %rsi
jmp 0xc449
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xc451
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2320