```
    String n1="1010100000000010",n2="10000111";
    int div=Integer.parseInt(n1,2);
    int divisor=Integer.parseInt(n2,2);
    int div_Hi=0;

    for(int i=0;i<8;i++){

        dividend<<=1;

        if(dividend_Hi>=divisor){

            dividend_Hi-=divisor;
            dividend=dividend+1;

        }
    }

```

In the picture,there is an algorithm for binary division. Following are my questions regarding it:

* How do I initialize dividend\_Hi?
* How do I use dividend\_Lo in the code?
* What corrections do I need to make in the code?[![enter image description here](https://i.stack.imgur.com/0A6Bm.png)](https://i.stack.imgur.com/0A6Bm.png)