Because point B has a pulley on the ground, ##N_B## is vertical.
Choose A be centroid
$$\sum m_A (F)=0, ~2a N_B + m=0$$
$$\Rightarrow N_B=\frac {-m} {2a},$$ So it's downward.
X-axis, $$X_A=0$$
Y-axis, $$Y_A=0 $$ $$N_B + Y_A=0$$
$$\Rightarrow Y_A= -N_B = \frac {m} {2a}$$ So ##Y_A## it's upward.