Skip to main content

About

 


   The Name of the blog has given in Bengali. In English it may be translated as "My Scribble Exercise Book".

   Everyone needs some space to speak for himself without any condition, or any obstruction or any contradiction, that he can say anything about anything as he thinks as he wants to say. It is spoken among oldies that "Pen-n-Papers" is the perfect place in this case. But in modern age these are unobvious and in future they may be out of production. Todays and in future Digital Media is taking the place to be obvious and idiosyncratic option in this regard. So, I choose this blog.

   The above written delirium may not an acceptable reason to some of the readers. May be. So, What? Here I am for saying such type of delirium or different in sometimes. Here I am as me. Here, I don't care about anyone's opinion. But sometimes I do ( When I need it for myself). So, anyone can read my such incoherent writings. But don't take it as sentimental. You are also free on this blog as me. If you want to comment, you do. If you don't, then don't. As you wish.

   So, Enjoy the blog. Navigate freely.

Popular posts from this blog

Online Compiler

1. Simple online Compiler 2. Advance online Compiler

Class Point:: It holds co-ordinates of a point in format (x,y)

A class Named "Point" which stores the Co-ordinates of a point in (x,y) Format. This Class Contains:: O Constructor with default arguments O Copy Constructor O Function to display which Co-ordinate a Point belongs to O Function to get value of x of a point O Function to get value of y of a point O Function to get the Radious Vector (r) of a point O Function to get the Theta of a point O Overloaded Operator - to find out distance between two points O Overloaded Operator >> to take input O Overloaded operator O Destructor #include<iostream.h> #include<math.h> class point{ //Data Members int x,y; //They hold the value of X and Y co-ordinate of a Point. public: //Member Functions point(int t1=0, int t2=0) //Constructor with default arguments. { x=t1; y=t2; } point(point &t) //Copy Constructor { x=t.x; y=t.y; } int coordinate(void); //It returns the point's Co-ordinate, e.g., 1, 2, 3, or 4th. int getx(...

0s and 1s Count in 1 Byte Memory Word

This program will count all the 1s and 0s individualy presents in a 1 byte word. And store the result in individual places in Memory. Suppose, argument byte is stored in memory location 2050H and store the result of 1's count at 2060H memory location and 0's at 2061H Memory Location Hex Code Label Mnemonics Comment 3050 3051 3052 3A 50 20 START: LDA 2050H ;Load Accumulator with the number stored at location 2050H 3053 3054 06 00 MVI B, 00H ;Initiate 0's Counter 3055 3056 0E 00 MVI C, 00H ;Initiate 1's Counter 3057 3058 16 08 MVI D, 08H ;Initiate Bit Counter 3059 07 LOOP: RLC ;Rotate Accumulator Left with Carry 305A 305B 305C DA 61 30 JC ONE ;If 1 is found count 1 305D 04 INR B ;If 1 is not found it must be 0. So increase 0's Counter 305E 305F 3060 D2 62 30 JNC NEXT ;Go to next Bit 3061 0C ONE: INR C ;Increase 1's Counter 3062 15 NEXT: DCR D ;Decrease the Bit Counter 3063 3064 3065 C2 ...