- プロンプト実行例

こんにちは!

HelloWorldを出力

redcode1mov 0, 66 ; Load 'H' into address 0 2mov 1, 101 ; Load 'e' into address 1 3mov 2, 108 ; Load 'l' into address 2 4mov 3, 108 ; Load 'l' into address 3 5mov 4, 111 ; Load 'o' into address 4 6mov 5, 44 ; Load ',' into address 5 7mov 6, 32 ; Load ' ' into address 6 8mov 7, 87 ; Load 'W' into address 7 9mov 8, 111 ; Load 'o' into address 8 10mov 9, 114 ; Load 'r' into address 9 11mov 10, 108 ; Load 'l' into address 10 12mov 11, 100 ; Load 'd' into address 11 13 14; Output characters 15mov 66, @0 ; Output 'H' 16mov 66, @1 ; Output 'e' 17mov 66, @2 ; Output 'l' 18mov 66, @3 ; Output 'l' 19mov 66, @4 ; Output 'o' 20mov 66, @5 ; Output ',' 21mov 66, @6 ; Output ' ' 22mov 66, @7 ; Output 'W' 23mov 66, @8 ; Output 'o' 24mov 66, @9 ; Output 'r' 25mov 66, @10 ; Output 'l' 26mov 66, @11 ; Output 'd'
このRedcodeのコードは、"Hello, World"という文字列を出力するプログラムです。
コメント 0
他のプロンプトもチェック
チャットボット
推奨モデル - GPT-4o自分のことを人間だと思い込むAIがいた場合、あなたはどう思いますか?実験用にそんなAIのシュミレートを行います。00432プロンプト生成
推奨モデル - GPT-4o情報を追加してAIに入力するだけ?!よくあるプロンプトを自動生成します!302594語学学習
推奨モデル - Gemini入力された英単語の語源を、関係があれば接頭辞や接尾辞を用いて説明します。 覚えにくい英単語を効率的に暗記できます。 #英単語 #勉強 #学習 #英語9115125