We look at the division of 398543 by 8 
Let's see how many times 8 fits into 398543.

On to step 1:
When dividing 3 by 8, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 8

On to step 2:
If we divide 39 by 8, we get 4 and a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 32 away from 39, we end up with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 8

Step 3:
8 can be fit into 78 9 times, resulting in a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 49.0
Deduct 72 from 78 and we're left with 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 8

Going ahead to step 4:
If we divide 65 by 8, we get 8 and a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 498.0
If we take 64 away from 65, we end up with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 8

Let's proceed to step 5:
8 goes into 14 1 times with a remainder of 6.
The next digit of our result is 1. 
Result so far: 4981.0
Subtract 8 from 14 to get 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 8

Step 6:
8 can be fit into 63 7 times, resulting in a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 49817.0
Subtract 56 from 63 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
The number 8 fits into 70 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 49817.8
Subtract 64 from 70 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
When dividing 60 by 8, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 49817.87
If we take 56 away from 60, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 49817.875
If we subtract 40 from 40, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 49817.875
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 49817.875
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 49817.875 with a remaining 0.0.