anonymous No title
No License Java
2020年08月17日
Copy Clone
package sep3.model.cycle;

import sep3.Model;
import sep3.model.CPU;
import sep3.model.operation.InstructionSet;

public class ReadFromOpe2 extends State {
	@Override
	public State clockstep(Model model) {
		//System.out.println("%% IF0 %%");
		// ステータスカウンタの設定。次の2行は、すべての状態において、最初に必ず記述すること
		CPU cpu = model.getCPU();
		cpu.getRegister(CPU.REG_SC).setInitValue(StateFactory.SC_FF2);

		//MDRからAバスへ送る
		cpu.getABusSelector().selectFrom(CPU.REG_MDR);
		//ALUはAバスの値をそのままSバスへ流す
		cpu.getALU().operate(InstructionSet.OP_THRA);
		//Sバスの値をB0へ送る
		cpu.getSBusSelector().selectTo(CPU.REG_B0);


		// 次の状態へ
		return cpu.getStateFactory().getState(StateFactory.SC_HLT);
	}

}
package sep3.model.cycle;

import sep3.Model;
import sep3.model.CPU;
import sep3.model.operation.InstructionSet;

public class ReadFromOpe2 extends State {
	@Override
	public State clockstep(Model model) {
		//System.out.println("%% IF0 %%");
		// ステータスカウンタの設定。次の2行は、すべての状態において、最初に必ず記述すること
		CPU cpu = model.getCPU();
		cpu.getRegister(CPU.REG_SC).setInitValue(StateFactory.SC_FF2);

		//MDRからAバスへ送る
		cpu.getABusSelector().selectFrom(CPU.REG_MDR);
		//ALUはAバスの値をそのままSバスへ流す
		cpu.getALU().operate(InstructionSet.OP_THRA);
		//Sバスの値をB0へ送る
		cpu.getSBusSelector().selectTo(CPU.REG_B0);


		// 次の状態へ
		return cpu.getStateFactory().getState(StateFactory.SC_HLT);
	}

}
anonymous
Anonymous
2021年04月20日
Medication information for patients. Short-Term Effects. <a href="https://pregabalin24x7.top">where can i buy lyrica without prescription</a> in US Some what you want to know about meds. Read information now.
anonymous
Anonymous
2021年04月26日
Pills information sheet. Long-Term Effects. <a href="https://pregabalinfor.top">cost cheap pregabalin pills</a> in Canada Actual about pills. Get here.
anonymous
Anonymous
2021年04月30日
cialis before and after photos <a href="https://mycialistabs.com/">cialis coupon cvs</a> cost of cialis 20mg
anonymous
Anonymous
2021年04月30日
cialis cost per pill <a href="https://mycialistabs.com/">sildenafil vs tadalafil</a> best place to buy cialis
anonymous
Anonymous
2021年05月02日
cialis for women <a href="https://toptadalafiltabs.com/">cialis pricing</a> cialis 10 mg
anonymous
Anonymous
2021年05月03日
cialis price cvs <a href="https://toptadalafiltabs.com/">teva generic cialis</a> how to buy cialis online
anonymous
Anonymous
2021年05月04日
how to write pm in an essay <a href="https://topessaywriterfas.com/">law essay help</a> how to write an introduction paragraph for a compare and contrast essay
anonymous
Anonymous
2021年05月05日
how to write a 12 essay in 10 days <a href="https://topessaywriterfas.com/">college admission essay</a> how to write an essay for beginners
anonymous
Anonymous
2021年05月06日
goods and service tax essay in hindi <a href="http://writemyessayslfd.com/">online essay writing services</a> writing an autobiographical essay
anonymous
Anonymous
2021年05月07日
sildenafil citrate <a href="https://mrviagrashop.com">www.mrviagrashop.com</a> over the counter viagra
anonymous
Anonymous
2021年05月07日
how to write a public service announcement essay <a href="http://writemyessayslfd.com/">writing college essay</a> essay writing service? essay writer?
anonymous
Anonymous
2021年05月07日
viagra generic over the counter <a href="https://mrviagrashop.com">viagra no prescription</a> viagra sex
anonymous
Anonymous
2021年05月07日
where to buy female viagra <a href="https://mysildenafilkr.com/">taking viagra for fun</a> sildenafil citrate online
anonymous
Anonymous
2021年05月07日
buy viagra online usa <a href="https://mysildenafilkr.com/">sildenafil 50 mg price</a> drugs not to take with viagra
anonymous
Anonymous
2021年05月12日
taking cialis <a href="http://tadalafilled.com/">is cialis better than viagra</a> how long before sex should i take cialis
anonymous
Anonymous
2021年05月12日
cover letter engineering <a href="http://coverletterforresumetop.com/">experienced nurse resume</a> resume service
anonymous
Anonymous
2021年05月12日
good resume skills <a href="http://coverletterforresumetop.com/">cv writing company</a> resume form
anonymous
Anonymous
2021年05月12日
how to take cialis <a href="http://tadalafilled.com/">buy cialis online</a> cialis blood pressure
anonymous
Anonymous
2021年05月13日
create resume online <a href="https://writingacoverletteronline.com/">affordable resume writing services</a> food service resume
anonymous
Anonymous
2021年05月13日
retail manager resume <a href="https://writingacoverletteronline.com/">pay for resume</a> who do i address a cover letter to
anonymous
Anonymous
2021年05月14日
viagra from india <a href="https://edviagramaster.net/">where to buy viagra</a> itsoktocry viagra
anonymous
Anonymous
2021年05月14日
sildenafil pills <a href="https://edviagramaster.net/">cvs viagra</a> sildenafil buy
anonymous
Anonymous
2021年05月15日
sildenafil citrate 50mg <a href="https://sildenafilviagratop.com">canada viagra</a> sildenafil 100 mg tablets
anonymous
Anonymous
2021年05月15日
online sildenafil <a href="https://sildenafilviagratop.com">viagra connect walgreens</a> buy viagra online cheapest
anonymous
Anonymous
2021年05月15日
buy cialis online safely <a href="https://cialisortadalafil.com/">buy cialis online cheap</a> cialis side effects with alcohol
anonymous
Anonymous
2021年05月16日
cialis expiration <a href="https://cialisortadalafil.com/">cialis review</a> is cialis over the counter
anonymous
Anonymous
2021年05月16日
how long for cialis to peak <a href="https://topcialistabs.com/">tadalafil 20mg</a> cialis patent expiration date
anonymous
Anonymous
2021年05月17日
cheap cialis online <a href="https://topcialistabs.com/">tadalafil no prescription</a> cialis com coupons
anonymous
Anonymous
2021年06月01日
Drugs information leaflet. What side effects? <a href="https://prednisolone4u.top">can you get cheap prednisolone online</a> in the USA Actual about drug. Get here.