data from stone hmi to arduino

below code is ,data read from hmi display to arduino..
this is the data frame from HMI display A5 5A 06 83 00 20 01 04 D2 ,in this i need only last 04 02 data content..in below code i got only 02..bt i need 04 02..
plz help ......
my code

void loop()
{
int m[9];
static int n=0;
int bytes_read = 0;
while (bytes_read < 9)
{
if (Serial.available() > 0)
{
m[n]=Serial.read();
bytes_read ++;
n++;
}

}
Serial.println(m[8]);
n=0;
}

You only print the last element of the m array. Try this:

Serial.println(m[7]);

Do you see that 04 you're missing?

yes..i need 04 D2.it is a data frame..04 D2 is hexadecimal of decimal number 1234...bt i got only 210 instead of 1234..bcs only take D2...deimal of hexD2 is 210...i need fully 04D2....kindly help

i got ans..........

#include <SoftwareSerial.h>
SoftwareSerial max232(0,1);
int num;
void setup()

{
Serial.begin(115200);
max232.begin(115200);
}

void loop()
{
int m[9];
static int n=0;
int bytes_read = 0;
while (bytes_read < 9)
{
if (Serial.available() > 0)
{
m[n]=Serial.read();
bytes_read ++;
n++;
}

m; }
num=((m[7]<<8) | m[8]);
Serial.println(m[8]);
Serial.println(num);
n=0;

}